1
0
forked from poc/pds

Added material type 4 (Bundle Individual) on livewire, blade, exporter, resource and create page

This commit is contained in:
dhanabalan
2026-05-26 09:01:52 +05:30
parent 68ee079529
commit 4378f3adbd
5 changed files with 944 additions and 920 deletions

View File

@@ -581,7 +581,7 @@ class CreateInvoiceValidation extends CreateRecord
$materialType = $sticker->material_type;
// $sticker = StickerMaster::where('plant_id', $plantId)->whereHas('item', function ($query) use ($code) { $query->where('plant_id', $this->plantId)->where('code', $code); })->first();
if ($materialType == 1) {
if ($materialType == 1 || $materialType == 4) {
$totalExcelQty = 0;
foreach ($rows as $index => $row) {
@@ -1765,7 +1765,7 @@ class CreateInvoiceValidation extends CreateRecord
$materialType = $sticker->material_type;
// $sticker = StickerMaster::where('plant_id', $plantId)->whereHas('item', function ($query) use ($code) { $query->where('plant_id', $this->plantId)->where('code', $code); })->first();
if ($materialType == 1) {
if ($materialType == 1 || $materialType == 4) {
$totalExcelQty = 0;
foreach ($rows as $index => $row) {