Updated unique query table name and exportAction label
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 11s

This commit is contained in:
dhanabalan
2026-08-28 14:15:07 +05:30
parent bc60690872
commit ce0bfa72ca

View File

@@ -197,7 +197,7 @@ class PumpTestingResultResource extends Resource
->label('Pump Serial Number')
->placeholder('Scan the pump serial number')
->rule(function (callable $get) {
return Rule::unique('pump_testing_entries', 'pump_serial_number')
return Rule::unique('pump_testing_results', 'pump_serial_number')
->where('plant_id', $get('plant_id'))
->where('pump_testing_master_id', $get('pump_testing_master_id'))
->where('tested_type', $get('tested_type'))
@@ -765,7 +765,7 @@ class PumpTestingResultResource extends Resource
])
->headerActions([
ExportAction::make()
->label('Export Pump Testing Entries')
->label('Export Pump Testing Results')
->color('warning')
->exporter(PumpTestingResultExporter::class)
->visible(function () {