1. Added import and export actions with labels and warning colors for the following resources:
- LineResource - LineStopResource - LocatorResource - MachineResource - MfmMeterResource - MfmParameterResource - MotorTestingMasterResource - PlantResource - ProductionLineStopResource - ProductionPlanResource - ProductionQuantityResource - QualityValidationResource - SerialValidationResource - ShiftResource - StickerMasterResource - UserResource - WorkGroupMasterResource 2. Updated camera capture functionality to ensure overlay canvas size syncs with video size.
This commit is contained in:
@@ -1316,6 +1316,8 @@ class ProductionQuantityResource extends Resource
|
||||
])
|
||||
->headerActions([
|
||||
ImportAction::make()
|
||||
->label('Import Production Quantities')
|
||||
->color('warning')
|
||||
->importer(ProductionQuantityImporter::class)
|
||||
->visible(function() {
|
||||
return Filament::auth()->user()->can('view import production quantities');
|
||||
@@ -1323,6 +1325,8 @@ class ProductionQuantityResource extends Resource
|
||||
// ->chunkSize(250),
|
||||
// ->maxRows(100000),
|
||||
ExportAction::make()
|
||||
->label('Export Production Quantities')
|
||||
->color('warning')
|
||||
->exporter(ProductionQuantityExporter::class)
|
||||
->visible(function() {
|
||||
return Filament::auth()->user()->can('view export production quantities');
|
||||
|
||||
Reference in New Issue
Block a user