Merge pull request 'changed logic in invoice pending reason page' (#204) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Reviewed-on: #204
This commit was merged in pull request #204.
This commit is contained in:
@@ -151,7 +151,7 @@ class InvoicePendingReason extends Page
|
||||
$documentNumber = $this->filters['document_number'] ?? null;
|
||||
$remark = $this->filters['remark'] ?? null;
|
||||
|
||||
if (! $plantId || ! $documentNumber || $remark == '') {
|
||||
if (! $plantId) {
|
||||
Notification::make()
|
||||
->title('Plant')
|
||||
->body("please select plant first..!")
|
||||
@@ -159,7 +159,7 @@ class InvoicePendingReason extends Page
|
||||
->send();
|
||||
return;
|
||||
}
|
||||
if (! $documentNumber || $remark == '') {
|
||||
if (! $documentNumber) {
|
||||
Notification::make()
|
||||
->title('Document Number')
|
||||
->body("please select document number..!")
|
||||
|
||||
Reference in New Issue
Block a user