From 125a0d986c8d8ece2c1315c295b57035d5cd1dd9 Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Thu, 22 Aug 2024 13:02:48 +0000 Subject: [PATCH] reworked master transporter and cost details --- app/Views/costListing.php | 409 ++++++++++++++--------------- app/Views/transporterListing.php | 429 +++++++++++++++---------------- 2 files changed, 411 insertions(+), 427 deletions(-) diff --git a/app/Views/costListing.php b/app/Views/costListing.php index 83679e4b..eb0c701f 100644 --- a/app/Views/costListing.php +++ b/app/Views/costListing.php @@ -1,76 +1,42 @@ + .Date-filter-form { + display: flex; + align-items: center; + gap: 10px; + /* Adjust the gap as needed */ + } + .Date-filter-form input, + .Date-filter-form button { + padding: 5px; + font-size: 14px; + } - -
+ .icon-button { + background: none; + border: none; + cursor: pointer; + color: #007bff; + font-size: 18px; + } + + .icon-button:hover { + color: #0056b3; + } + + + +
-
- - - + + + + - - + + - - -
-
+ + +
+
- + - - - - - - - + + + + + + + CreatedDate); - $date = $createdat->format('d-m-Y'); - $time = $createdat->format('h:i A'); + foreach ($userRecords as $record) { + $createdat = new DateTime($record->CreatedDate); + $date = $createdat->format('d-m-Y'); + $time = $createdat->format('h:i A'); ?> - - - - - - - - - - + + + + + + + + + + -
Create DateCreate TimeCost Center CodeCost Center NameCreated ByActiveActionCreate DateCreate TimeCost Center CodeCost Center NameCreated ByActiveAction
code ?>CostCenterName ?>FirstName ?>IsActive == 1 ? $R = 'ACTIVE' : $R = 'INACTIVE'; - echo $R; - ?> - DeletedBy == '') { - ?> - -     - -
code ?>CostCenterName ?>FirstName ?>IsActive == 1 ? $R = 'ACTIVE' : $R = 'INACTIVE'; + echo $R; + ?> + DeletedBy == '') { + ?> + +     + +
+
@@ -159,29 +125,43 @@
+ + - -