diff --git a/app/Http/Controllers/CharacteristicsController.php b/app/Http/Controllers/CharacteristicsController.php index 0e69378..1c8182e 100644 --- a/app/Http/Controllers/CharacteristicsController.php +++ b/app/Http/Controllers/CharacteristicsController.php @@ -3176,7 +3176,7 @@ class CharacteristicsController extends Controller if (! $mNameAgaWorkCenter) { return response()->json([ 'status_code' => 'ERROR', - 'status_description' => "Machine name '{$machineName}' not found for the work center '{$workCenter}' in characteristic approver master!", + 'status_description' => "Machine name '{$machineName}' and work center '{$workCenter}' not found in characteristic approver master!", ], 404); } diff --git a/app/Models/CharacteristicApproverMaster.php b/app/Models/CharacteristicApproverMaster.php index d4c0e07..77020bd 100644 --- a/app/Models/CharacteristicApproverMaster.php +++ b/app/Models/CharacteristicApproverMaster.php @@ -14,6 +14,7 @@ class CharacteristicApproverMaster extends Model 'plant_id', 'machine_id', 'machine_name', + 'characteristic_field', 'name1', 'mail1', 'name2', @@ -23,8 +24,6 @@ class CharacteristicApproverMaster extends Model 'duration1', 'duration2', 'duration3', - 'characteristic_field', - 'created_at', 'updated_at', 'created_by', diff --git a/app/Models/WeightValidation.php b/app/Models/WeightValidation.php index a475d60..8d07c5d 100644 --- a/app/Models/WeightValidation.php +++ b/app/Models/WeightValidation.php @@ -25,6 +25,8 @@ class WeightValidation extends Model 'bundle_number', 'picked_weight', 'scanned_by', + 'created_at', + 'updated_at', ]; public function plant(): BelongsTo