From bc7d20b728a8e455c106a1c731bd44bc3fcdbc89 Mon Sep 17 00:00:00 2001 From: bitbucket Date: Fri, 2 Aug 2024 13:49:06 +0530 Subject: [PATCH] ui : GWM --- app/Views/porelease_view.php | 79 +++++++++++++++++++++++------------- 1 file changed, 50 insertions(+), 29 deletions(-) diff --git a/app/Views/porelease_view.php b/app/Views/porelease_view.php index 8594fa2b..850ac09f 100644 --- a/app/Views/porelease_view.php +++ b/app/Views/porelease_view.php @@ -9,16 +9,37 @@ if(empty($Status)) ?> + .table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {border: 1px solid #333;} + .modal-content { + width:1000px ! important; + } + + .modal + { + padding-right:25% ! important; + } + #Requisition_filter{ + float: inline-end; + } + #Requisition_wrapper .row .col-sm-4{ + flex-basis: 50%; + float: inline-end; + } + #Requisition_paginate .pagination { + flex-basis: 50%; + float: inline-end; + margin:0 0 15px; + } + #Requisition_wrapper .row:nth-child(3), #Requisition_wrapper .row:nth-child(1){ + padding: 0 15px; + } + #Requisition_info{ + margin-top: 5px; + } + .dataTables_wrapper{ + padding-bottom: 0; + } +
@@ -311,8 +332,6 @@ $("#myModal").on("shown.bs.modal", function(e) { }); - - function printpdf(PONO,value,Status) { @@ -403,23 +422,25 @@ $(function () { "autoWidth": false }); -$.fn.dataTable.moment( 'DD-MM-YYYY' ); - $('#Requisition').DataTable({ - "paging": true, - "lengthChange": true, - "searching": true, - "ordering": true, - "aaSorting": [[ 6, "desc" ]], - // "columnDefs" : [{"targets":6, "type":"date-eu"}], - - "info": true, - "autoWidth": true - //"data-sort-name":Status - - }); - }); + $.fn.dataTable.moment( 'DD-MM-YYYY' ); + $('#Requisition').DataTable({ + columnDefs: [{ width: 200}], + fixedColumns: true, + paging: true, + lengthChange: true, + searching: true, + ordering: true, + aaSorting: [[ 6, "desc" ]], + // "columnDefs" : [{"targets":6, "type":"date-eu"}], + info: true, + autoWidth: true, + pageLength: 10, + lengthMenu: [10, 25, 50, 100] + + + }); + }); - + \ No newline at end of file