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:
@@ -384,11 +384,15 @@ class CheckPointTimeResource extends Resource
|
||||
])
|
||||
->headerActions([
|
||||
ImportAction::make()
|
||||
->label('Import Check Point Times')
|
||||
->color('warning')
|
||||
->importer(CheckPointTimeImporter::class)
|
||||
->visible(function() {
|
||||
return Filament::auth()->user()->can('view import check point time');
|
||||
}),
|
||||
ExportAction::make()
|
||||
->label('Export Check Point Times')
|
||||
->color('warning')
|
||||
->exporter(CheckPointTimeExporter::class)
|
||||
->visible(function() {
|
||||
return Filament::auth()->user()->can('view export check point time');
|
||||
|
||||
Reference in New Issue
Block a user