1
0
forked from poc/pds

Merge pull request 'added capacitor null in text box' (#276) from ranjith-dev into master

Reviewed-on: poc/pds#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)) {
Notification::make()
->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()
// ->duration(3000)
->seconds(2)
->send();
$this->capacitorInput = '';
return;
}