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:
@@ -166,11 +166,15 @@ class GuardNameResource extends Resource
|
||||
])
|
||||
->headerActions([
|
||||
ImportAction::make()
|
||||
->label('Import Guard Names')
|
||||
->color('warning')
|
||||
->importer(GuardNameImporter::class)
|
||||
->visible(function() {
|
||||
return Filament::auth()->user()->can('view import guard name');
|
||||
}),
|
||||
ExportAction::make()
|
||||
->label('Export Guard Names')
|
||||
->color('warning')
|
||||
->exporter(GuardNameExporter::class)
|
||||
->visible(function() {
|
||||
return Filament::auth()->user()->can('view export guard name');
|
||||
|
||||
Reference in New Issue
Block a user