Refactor item code retrieval in WeightValidationResource table method #188

Merged
jothi merged 1 commits from ranjith-dev into master 2026-01-14 06:47:41 +00:00
Showing only changes of commit 011632b725 - Show all commits

View File

@@ -334,7 +334,7 @@ class WeightValidationResource extends Resource
}
if (! empty($data['Item Code'])) {
$indicators[] = 'Item Code: '.$data['Item Code'];
$indicators[] = 'Item Code: '.Item::where('id', $data['Item Code'])->value('code');
}
if (! empty($data['Line'])) {