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:
@@ -609,11 +609,15 @@ class StickerMasterResource extends Resource
|
||||
])
|
||||
->headerActions([
|
||||
ImportAction::make()
|
||||
->label('Import Sticker Masters')
|
||||
->color('warning')
|
||||
->importer(StickerMasterImporter::class)
|
||||
->visible(function() {
|
||||
return Filament::auth()->user()->can('view import sticker master');
|
||||
}),
|
||||
ExportAction::make()
|
||||
->label('Export Sticker Masters')
|
||||
->color('warning')
|
||||
->exporter(StickerMasterExporter::class)
|
||||
->visible(function() {
|
||||
return Filament::auth()->user()->can('view export sticker master');
|
||||
|
||||
Reference in New Issue
Block a user