Updating Capacitor QR focus issue
This commit is contained in:
@@ -3958,7 +3958,7 @@ class CreateInvoiceValidation extends CreateRecord
|
|||||||
|
|
||||||
//hereToUpdate
|
//hereToUpdate
|
||||||
//$this->dispatch('openCapacitorModal');
|
//$this->dispatch('openCapacitorModal');
|
||||||
$this->dispatch('openCapacitorModal', itemCode: $itemCode, serialNumber: $serialNumber, plantId: $plantId);
|
$this->dispatch( 'refreshInvoiceData', invoiceNumber: $invoiceNumber, plantId: $plantId);
|
||||||
|
|
||||||
$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();
|
||||||
|
|
||||||
@@ -3970,8 +3970,8 @@ class CreateInvoiceValidation extends CreateRecord
|
|||||||
'update_invoice' => false,
|
'update_invoice' => false,
|
||||||
'scanned_quantity'=> $scannedQuantity,
|
'scanned_quantity'=> $scannedQuantity,
|
||||||
]);
|
]);
|
||||||
//$this->dispatch( 'refreshInvoiceData', invoiceNumber: $invoiceNumber, plantId: $plantId);
|
|
||||||
|
|
||||||
|
$this->dispatch('openCapacitorModal', itemCode: $itemCode, serialNumber: $serialNumber, plantId: $plantId);
|
||||||
// $this->refreshInvoiceTable();
|
// $this->refreshInvoiceTable();
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user