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