1
0
forked from poc/pds

Refactor item code retrieval in WeightValidationResource table method

This commit is contained in:
dhanabalan
2026-01-14 12:17:18 +05:30
parent 9540fb95c9
commit 011632b725

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'])) {