Merge pull request 'added capacitor null in text box' (#276) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

Reviewed-on: #276
This commit was merged in pull request #276.
This commit is contained in:
2026-01-29 12:10:54 +00:00

View File

@@ -559,12 +559,13 @@ class InvoiceDataTable extends Component
if (! preg_match('/^[^\/]+\/[^\/]+\/.+$/', $this->capacitorInput)) { if (! preg_match('/^[^\/]+\/[^\/]+\/.+$/', $this->capacitorInput)) {
Notification::make() Notification::make()
->title('Invalid Panel Box QR Format:') ->title('Invalid Panel Box QR Format:')
->body('Scan the valid panel box QR code to proceed!') ->body("Scan the valid panel box QR '$this->capacitorInput' to proceed!")
->danger() ->danger()
// ->duration(3000) // ->duration(3000)
->seconds(2) ->seconds(2)
->send(); ->send();
$this->capacitorInput = '';
return; return;
} }