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:
@@ -761,11 +761,15 @@ class MotorTestingMasterResource extends Resource
|
||||
])
|
||||
->headerActions([
|
||||
ImportAction::make()
|
||||
->label('Import Motor Testing Masters')
|
||||
->color('warning')
|
||||
->importer(MotorTestingMasterImporter::class)
|
||||
->visible(function() {
|
||||
return Filament::auth()->user()->can('view import motor testing master');
|
||||
}),
|
||||
ExportAction::make()
|
||||
->label('Export Motor Testing Masters')
|
||||
->color('warning')
|
||||
->exporter(MotorTestingMasterExporter::class)
|
||||
->visible(function() {
|
||||
return Filament::auth()->user()->can('view export motor testing master');
|
||||
|
||||
Reference in New Issue
Block a user