From a97d347e0b39bd5f15c2aee6ed635a5d441c4a50 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Thu, 27 Aug 2026 13:33:45 +0530 Subject: [PATCH] Removed unwanted warning message on material invoice number scanning --- .../Pages/CreateInvoiceValidation.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/Filament/Resources/InvoiceValidationResource/Pages/CreateInvoiceValidation.php b/app/Filament/Resources/InvoiceValidationResource/Pages/CreateInvoiceValidation.php index 76ecfdc..7030499 100644 --- a/app/Filament/Resources/InvoiceValidationResource/Pages/CreateInvoiceValidation.php +++ b/app/Filament/Resources/InvoiceValidationResource/Pages/CreateInvoiceValidation.php @@ -219,12 +219,6 @@ class CreateInvoiceValidation extends CreateRecord $totMatQuan = InvoiceValidation::where('invoice_number', $invoiceNumber)->whereNull('serial_number')->where('plant_id', $plantId)->latest('updated_at')->first()?->invoice_quantity ?? 0; // ->where('quantity', '!=', '') $scanMatQuan = number_format($totMatQuan - (InvoiceValidation::where('invoice_number', $invoiceNumber)->whereNull('serial_number')->where('plant_id', $plantId)->latest('updated_at')->first()?->quantity ?? 0), 3, '.', ''); // ('updated_at', 'desc') - Notification::make() - ->title("T : {$totMatQuan} and S : {$scanMatQuan}!") - ->info() - ->seconds(1) - ->send(); - $this->form->fill([ 'plant_id' => $plantId, 'invoice_number' => $invoiceNumber,