Commented success message on qr scanning

This commit is contained in:
dhanabalan
2025-05-20 10:03:11 +05:30
parent ff75934526
commit af793faf0d

View File

@@ -301,13 +301,13 @@ class InvoiceDataTable extends Component
]); ]);
} }
Notification::make() // Notification::make()
->title('Success: Capacitor QR') // ->title('Success: Capacitor QR')
// ->title("Panel box code scanned: $itemCode") // // ->title("Panel box code scanned: $itemCode")
->body("'Capacitor' QR scanned status updated, Scan next QR.") // ->body("'Capacitor' QR scanned status updated, Scan next QR.")
->success() // ->success() // commented
->seconds(2) // ->seconds(2)
->send(); // ->send();
$totalQuantity = InvoiceValidation::where('invoice_number', $matchingValidation->invoice_number)->where('plant_id', $this->plantId)->count(); $totalQuantity = InvoiceValidation::where('invoice_number', $matchingValidation->invoice_number)->where('plant_id', $this->plantId)->count();
$scannedQuantity = InvoiceValidation::where('invoice_number', $matchingValidation->invoice_number)->where('plant_id', $this->plantId)->where('scanned_status', 'Scanned')->count(); $scannedQuantity = InvoiceValidation::where('invoice_number', $matchingValidation->invoice_number)->where('plant_id', $this->plantId)->where('scanned_status', 'Scanned')->count();