Fix indentation for dispatching warning sound in processInvoice method

This commit is contained in:
dhanabalan
2025-09-21 15:38:19 +05:30
parent d13f502db8
commit 4c1950bf29

View File

@@ -2233,7 +2233,7 @@ class CreateInvoiceValidation extends CreateRecord
->danger()
->seconds(2)
->send();
$this->dispatch('playWarnSound');
$this->dispatch('playWarnSound');
$totalQuantity = InvoiceValidation::where('invoice_number', $invoiceNumber)->where('plant_id', $plantId)->count();
$scannedQuantity = InvoiceValidation::where('invoice_number', $invoiceNumber)->where('scanned_status', 'Scanned')->where('plant_id', $plantId)->count();
@@ -2261,7 +2261,7 @@ class CreateInvoiceValidation extends CreateRecord
->danger()
->seconds(2)
->send();
$this->dispatch('playWarnSound');
$this->dispatch('playWarnSound');
if ($disk->exists($filePath)) {
$disk->delete($filePath);