removed logic for skipping in remark import
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 13s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 20s
Laravel Larastan / larastan (pull_request) Failing after 3m45s
Laravel Pint / pint (pull_request) Successful in 3m42s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 13s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 20s
Laravel Larastan / larastan (pull_request) Failing after 3m45s
Laravel Pint / pint (pull_request) Successful in 3m42s
This commit is contained in:
@@ -340,6 +340,7 @@ class InvoicePendingReason extends Page
|
|||||||
->send();
|
->send();
|
||||||
$this->filtersForm->fill([
|
$this->filtersForm->fill([
|
||||||
'file' => null,
|
'file' => null,
|
||||||
|
'plant_id' => $plantId,
|
||||||
]);
|
]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -352,6 +353,7 @@ class InvoicePendingReason extends Page
|
|||||||
->send();
|
->send();
|
||||||
$this->filtersForm->fill([
|
$this->filtersForm->fill([
|
||||||
'file' => null,
|
'file' => null,
|
||||||
|
'plant_id' => $plantId,
|
||||||
]);
|
]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -383,6 +385,7 @@ class InvoicePendingReason extends Page
|
|||||||
->send();
|
->send();
|
||||||
$this->filtersForm->fill([
|
$this->filtersForm->fill([
|
||||||
'file' => null,
|
'file' => null,
|
||||||
|
'plant_id' => $plantId,
|
||||||
]);
|
]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -395,6 +398,7 @@ class InvoicePendingReason extends Page
|
|||||||
->send();
|
->send();
|
||||||
$this->filtersForm->fill([
|
$this->filtersForm->fill([
|
||||||
'file' => null,
|
'file' => null,
|
||||||
|
'plant_id' => $plantId,
|
||||||
]);
|
]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -407,6 +411,7 @@ class InvoicePendingReason extends Page
|
|||||||
->send();
|
->send();
|
||||||
$this->filtersForm->fill([
|
$this->filtersForm->fill([
|
||||||
'file' => null,
|
'file' => null,
|
||||||
|
'plant_id' => $plantId,
|
||||||
]);
|
]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -72,13 +72,6 @@ class InvoicePendingReasonImport implements ToCollection
|
|||||||
];
|
];
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (! $remark) {
|
|
||||||
$this->remarkEmpty[] = [
|
|
||||||
'row' => $rowNo,
|
|
||||||
'reason' => "Remark can't be empty!",
|
|
||||||
];
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
//Excel-level duplicate check
|
//Excel-level duplicate check
|
||||||
$key = $plantCode . '|' . $documentNumber;
|
$key = $plantCode . '|' . $documentNumber;
|
||||||
|
|||||||
Reference in New Issue
Block a user