Commented success message on qr scanning
This commit is contained in:
@@ -2748,12 +2748,12 @@ class CreateInvoiceValidation extends CreateRecord
|
||||
$record->save();
|
||||
}
|
||||
|
||||
Notification::make()
|
||||
->title('Success: Material QR')
|
||||
->body("'Material QR' scanned status updated, Scan next QR.")
|
||||
->success()
|
||||
->seconds(2)
|
||||
->send();
|
||||
// Notification::make()
|
||||
// ->title('Success: Material QR')
|
||||
// ->body("'Material QR' scanned status updated, Scan next QR.")
|
||||
// ->success() // commented
|
||||
// ->seconds(2)
|
||||
// ->send();
|
||||
|
||||
$totQuan = InvoiceValidation::where('invoice_number', $invoiceNumber)->where('plant_id', $plantId)->count();
|
||||
|
||||
@@ -3050,12 +3050,12 @@ class CreateInvoiceValidation extends CreateRecord
|
||||
$record->operator_id = $operatorName;
|
||||
$record->save();
|
||||
|
||||
Notification::make()
|
||||
->title('Success: Motor QR')
|
||||
->body("'Motor' QR scanned status updated, Scan next QR.")
|
||||
->success()
|
||||
->seconds(2)
|
||||
->send();
|
||||
// Notification::make()
|
||||
// ->title('Success: Motor QR')
|
||||
// ->body("'Motor' QR scanned status updated, Scan next QR.")
|
||||
// ->success() // commented
|
||||
// ->seconds(2)
|
||||
// ->send();
|
||||
|
||||
$scannedQuantity = InvoiceValidation::where('invoice_number', $invoiceNumber)->where('scanned_status', 'Scanned')->where('plant_id', $plantId)->count();
|
||||
$this->form->fill([
|
||||
@@ -3160,12 +3160,12 @@ class CreateInvoiceValidation extends CreateRecord
|
||||
$record->operator_id = $operatorName;
|
||||
$record->save();
|
||||
|
||||
Notification::make()
|
||||
->title('Success: Pump QR')
|
||||
->body("'Pump' QR scanned status updated, Scan next QR.")
|
||||
->success()
|
||||
->seconds(2)
|
||||
->send();
|
||||
// Notification::make()
|
||||
// ->title('Success: Pump QR')
|
||||
// ->body("'Pump' QR scanned status updated, Scan next QR.")
|
||||
// ->success() // commented
|
||||
// ->seconds(2)
|
||||
// ->send();
|
||||
|
||||
$scannedQuantity = InvoiceValidation::where('invoice_number', $invoiceNumber)->where('scanned_status', 'Scanned')->where('plant_id', $plantId)->count();
|
||||
$this->form->fill([
|
||||
@@ -3246,6 +3246,7 @@ class CreateInvoiceValidation extends CreateRecord
|
||||
return;
|
||||
}
|
||||
|
||||
//hereToUpdate
|
||||
//$this->dispatch('openCapacitorModal');
|
||||
$this->dispatch('openCapacitorModal', itemCode: $itemCode, serialNumber: $serialNumber, plantId: $plantId);
|
||||
|
||||
@@ -3330,12 +3331,12 @@ class CreateInvoiceValidation extends CreateRecord
|
||||
$record->operator_id = $operatorName;
|
||||
$record->save();
|
||||
|
||||
Notification::make()
|
||||
->title('Success: Pump Set QR')
|
||||
->body("'Pump Set' QR scanned status updated, Scan next QR.")
|
||||
->success()
|
||||
->seconds(2)
|
||||
->send();
|
||||
// Notification::make()
|
||||
// ->title('Success: Pump Set QR')
|
||||
// ->body("'Pump Set' QR scanned status updated, Scan next QR.")
|
||||
// ->success() // commented
|
||||
// ->seconds(2)
|
||||
// ->send();
|
||||
|
||||
$scannedQuantity = InvoiceValidation::where('invoice_number', $invoiceNumber)->where('scanned_status', 'Scanned')->where('plant_id', $plantId)->count();
|
||||
$this->form->fill([
|
||||
|
||||
Reference in New Issue
Block a user