From 0cb9a8ffe4850ca8a9b961d61a83d90649e7e054 Mon Sep 17 00:00:00 2001 From: bitbucket Date: Mon, 2 Sep 2024 15:55:28 +0530 Subject: [PATCH] HR module : GWM --- app/Models/Inwardgateregister_model.php | 15 +++++- app/Views/attendance.php | 30 ++++++------ app/Views/includes/new_footer.php | 1 + app/Views/includes/new_header.php | 62 ++++++++++++++----------- app/Views/monthlypayinputs.php | 7 ++- app/Views/viewinwardgateregister.php | 12 ++++- 6 files changed, 78 insertions(+), 49 deletions(-) diff --git a/app/Models/Inwardgateregister_model.php b/app/Models/Inwardgateregister_model.php index 79c5ccb1..1e9534d1 100755 --- a/app/Models/Inwardgateregister_model.php +++ b/app/Models/Inwardgateregister_model.php @@ -342,10 +342,21 @@ class Inwardgateregister_model extends Model function ViewigrListing() { - $builder = $this->db->table('t_igr_master igr') - ->select('igr.*,PO.IsOpenOrder,PO.DeliveryDate,sup.SupplierName,PO.POType') + // $builder = $this->db->table('t_igr_master igr') + // ->select('igr.*,PO.IsOpenOrder,PO.DeliveryDate,sup.SupplierName,PO.POType,trans.name as TransporterName') + // ->join('t_purchaseorder_master PO', 'igr.PONO = PO.PONO') + // ->join('t_supplierdetailsn` sup', 'PO.SupplierID = sup.SupplierID') + // ->join('t_transporter` trans', 'igr.TransporterId = trans.id' , 'left') + // ->where('igr.IGRStatus !=', MRIR_CREATED) + // ->orderBy('igr.CreatedDate', 'desc'); + + $builder = $this->db->table('t_igr_details igr_details') + ->select('igr.*,PO.IsOpenOrder,PO.DeliveryDate,sup.SupplierName,PO.POType,trans.name as TransporterName,item.MaterialName, igr_details.QuantityAsPerInvoice as ReceivedQuantity , igr_details.NetWeight as NetWeight') + ->join('t_igr_master igr', 'igr_details.IGRNo = igr.IGRNo') ->join('t_purchaseorder_master PO', 'igr.PONO = PO.PONO') ->join('t_supplierdetailsn` sup', 'PO.SupplierID = sup.SupplierID') + ->join('t_transporter` trans', 'igr.TransporterId = trans.id' , 'left') + ->join('t_materialmaster` item', 'igr_details.MaterialCode = item.MaterialCode' , 'left') ->where('igr.IGRStatus !=', MRIR_CREATED) ->orderBy('igr.CreatedDate', 'desc'); $query = $builder->get(); diff --git a/app/Views/attendance.php b/app/Views/attendance.php index b2639110..46b797b0 100644 --- a/app/Views/attendance.php +++ b/app/Views/attendance.php @@ -1,9 +1,11 @@ - - + + +
+ ">
@@ -488,13 +490,11 @@ $currentday = date('d'); @@ -554,9 +554,9 @@ $currentday = date('d'); $(document).ready(function() { - $("#attendance").CongelarFilaColumna({ - lboHoverTr: true - }); + // $("#attendance").CongelarFilaColumna({ + // lboHoverTr: true + // }); $('html').bind('keypress', function(e) { diff --git a/app/Views/includes/new_footer.php b/app/Views/includes/new_footer.php index 5e0753ce..6a24dc58 100644 --- a/app/Views/includes/new_footer.php +++ b/app/Views/includes/new_footer.php @@ -45,6 +45,7 @@ + diff --git a/app/Views/includes/new_header.php b/app/Views/includes/new_header.php index c9114af6..a3c907ff 100644 --- a/app/Views/includes/new_header.php +++ b/app/Views/includes/new_header.php @@ -11,8 +11,7 @@ - - + @@ -31,36 +30,42 @@ - - + + + + + + + - - + + - - - - + - + + + + + @@ -128,21 +133,21 @@ color: red; background-color: #fff; } - .btn-cancel { - background-color: grey; /* Red color */ - color: white; - padding: 10px 20px; - text-align: center; - text-decoration: none; - display: inline-block; - margin: 4px 2px; - cursor: pointer; -} + .btn-cancel { + background-color: grey; /* Red color */ + color: white; + padding: 10px 20px; + text-align: center; + text-decoration: none; + display: inline-block; + margin: 4px 2px; + cursor: pointer; + } -.btn-cancel:hover { - background-color: #02a8b5; /* Darker red on hover */ - color: white; -} + .btn-cancel:hover { + background-color: #02a8b5; /* Darker red on hover */ + color: white; + } - - + diff --git a/app/Views/monthlypayinputs.php b/app/Views/monthlypayinputs.php index a8d63dd3..dd282299 100644 --- a/app/Views/monthlypayinputs.php +++ b/app/Views/monthlypayinputs.php @@ -27,8 +27,7 @@ ?> - - +