ranjith-dev #779
@@ -359,7 +359,7 @@ class InvoiceValidationImporter extends Importer
|
|||||||
$curPanelBoxSerialNumber = $record->panel_box_serial_number ?? null;
|
$curPanelBoxSerialNumber = $record->panel_box_serial_number ?? null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$warnMsg[] = 'Record Item ID : '.$record->sticker_master_id.' Master Item ID : '.$stickId;
|
$warnMsg[] = 'Invoice Record Item ID : '.$record->sticker_master_id.' Master Item ID : '.$stickId;
|
||||||
if ($record->invoice_number != $invoiceNumber) {
|
if ($record->invoice_number != $invoiceNumber) {
|
||||||
$stickId = null;
|
$stickId = null;
|
||||||
$warnMsg[] = 'Invoice number mismatch with existing record!';
|
$warnMsg[] = 'Invoice number mismatch with existing record!';
|
||||||
|
|||||||
@@ -99,16 +99,8 @@ class ImportTransitResource extends Resource
|
|||||||
->afterStateUpdated(function (callable $set) {
|
->afterStateUpdated(function (callable $set) {
|
||||||
$set('updated_by', Filament::auth()->user()?->name);
|
$set('updated_by', Filament::auth()->user()?->name);
|
||||||
}),
|
}),
|
||||||
Forms\Components\Select::make('status')
|
Forms\Components\TextInput::make('status')
|
||||||
->label('Status')
|
->label('Status')
|
||||||
->options([
|
|
||||||
'Under Service Provider Finalization' => 'Under Service Provider Finalization',
|
|
||||||
'Yet to pick up' => 'Yet to pick up',
|
|
||||||
'Awaiting Vessel Loading' => 'Awaiting Vessel Loading',
|
|
||||||
'In Transit' => 'In Transit',
|
|
||||||
'Under Import Customs Clearance in Destination' => 'Under Import Customs Clearance in Destination',
|
|
||||||
'Delivered' => 'Delivered',
|
|
||||||
])
|
|
||||||
->reactive()
|
->reactive()
|
||||||
->afterStateUpdated(function (callable $set) {
|
->afterStateUpdated(function (callable $set) {
|
||||||
$set('updated_by', Filament::auth()->user()?->name);
|
$set('updated_by', Filament::auth()->user()?->name);
|
||||||
@@ -188,8 +180,17 @@ class ImportTransitResource extends Resource
|
|||||||
->afterStateUpdated(function (callable $set) {
|
->afterStateUpdated(function (callable $set) {
|
||||||
$set('updated_by', Filament::auth()->user()?->name);
|
$set('updated_by', Filament::auth()->user()?->name);
|
||||||
}),
|
}),
|
||||||
Forms\Components\TextInput::make('remark')
|
Forms\Components\Select::make('remark')
|
||||||
->label('Remark')
|
->label('Remark')
|
||||||
|
->options([
|
||||||
|
'Under Service Provider Finalization' => 'Under Service Provider Finalization',
|
||||||
|
'Yet to pick up' => 'Yet to pick up',
|
||||||
|
'Awaiting Vessel Loading' => 'Awaiting Vessel Loading',
|
||||||
|
'In Transit' => 'In Transit',
|
||||||
|
'Under Import Customs Clearance in Destination' => 'Under Import Customs Clearance in Destination',
|
||||||
|
'Delivered' => 'Delivered',
|
||||||
|
])
|
||||||
|
->reactive()
|
||||||
->afterStateUpdated(function (callable $set) {
|
->afterStateUpdated(function (callable $set) {
|
||||||
$set('updated_by', Filament::auth()->user()?->name);
|
$set('updated_by', Filament::auth()->user()?->name);
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user