Compare commits
2 Commits
3c5c18cea4
...
db05e9e738
| Author | SHA1 | Date | |
|---|---|---|---|
| db05e9e738 | |||
|
|
b25120acf9 |
@@ -353,6 +353,12 @@ class InvoiceValidationImporter extends Importer
|
|||||||
$curPanelBoxSerialNumber = $record->panel_box_serial_number ?? null;
|
$curPanelBoxSerialNumber = $record->panel_box_serial_number ?? null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($record->scanned_status == 'Scanned') {
|
||||||
|
return null;
|
||||||
|
} elseif ($record->invoice_number != $invoiceNumber) {
|
||||||
|
throw new RowImportFailedException('Invoice number mismatch with existing record!');
|
||||||
|
}
|
||||||
|
|
||||||
// if ($hadPumpQr == $hasPumpQr && $hadPumpSetQr == $hasPumpSetQr)
|
// if ($hadPumpQr == $hasPumpQr && $hadPumpSetQr == $hasPumpSetQr)
|
||||||
if ($hasMotorQr || $hasPumpQr || $hasPumpSetQr || $hasCapacitorQr) {
|
if ($hasMotorQr || $hasPumpQr || $hasPumpSetQr || $hasCapacitorQr) {
|
||||||
$scanCnt = $curMotorQr ? $scanCnt + 1 : $scanCnt;
|
$scanCnt = $curMotorQr ? $scanCnt + 1 : $scanCnt;
|
||||||
|
|||||||
Reference in New Issue
Block a user