From 011531cafe4f4da0a1d3c5a7c72ca26e0b394413 Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Sat, 21 Dec 2024 09:35:50 +0530 Subject: [PATCH 1/2] purchase module-2 vadivel J 21-12-2024 --- app/Views/addSupplier.php | 7 ++++--- app/Views/editSupplier.php | 4 ++-- app/Views/incomingSilicaSandDetails.php | 24 ++++++++++++------------ 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/app/Views/addSupplier.php b/app/Views/addSupplier.php index 4de6577b..077ebcf9 100755 --- a/app/Views/addSupplier.php +++ b/app/Views/addSupplier.php @@ -179,9 +179,10 @@
- Payable Terms - +
- + @@ -779,9 +793,6 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y'); if (qtyPerHrs && qtyPerHrs != NaN && qtyPerHrs != Infinity) tr.find('td:eq(11)').text(qtyPerHrs.toFixed(3)); - - - } } @@ -907,12 +918,12 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y'); $('#drierTable').find('tbody tr').each(function() { const rowCells = $(this).find('td'); - let tableDate = rowCells.eq(0).text(); // prints every date in the month from 1 to 30 . + let tableDate = rowCells.eq(0).text(); let result = checkDateRange(fromDate,toDate,tableDate); if (result) { - $(this).show(); // Show the row if the date is within range + $(this).show(); } else { - $(this).hide(); // Hide the row if the date is out of range + $(this).hide(); } }); diff --git a/app/Views/incomingSilicaSandDetails.php b/app/Views/incomingSilicaSandDetails.php index f8eb9b83..1070b34b 100644 --- a/app/Views/incomingSilicaSandDetails.php +++ b/app/Views/incomingSilicaSandDetails.php @@ -370,7 +370,7 @@ - + @@ -715,11 +715,11 @@ - + 10 2.0 2000 - + 5 @@ -727,7 +727,7 @@ 20 0.85 0850 - + 10 @@ -735,7 +735,7 @@ 30 0.60 0600 - + 20 @@ -743,7 +743,7 @@ 40 0.42 0425 - + 30 @@ -751,7 +751,7 @@ 50 0.30 0300 - + 40 @@ -760,7 +760,7 @@ 70 0.21 0212 - + 50 @@ -768,7 +768,7 @@ 100 0.15 0150 - + 70 @@ -776,7 +776,7 @@ 140 0.106 0106 - + 100 @@ -784,7 +784,7 @@ 200 0.075 0075 - + 140 @@ -792,7 +792,7 @@ 300 0.053 0053 - + 200 @@ -801,7 +801,7 @@ PAN PAN - + 300 @@ -1298,60 +1298,68 @@