requisition list alignment

This commit is contained in:
vadivel J 2024-09-25 16:31:33 +05:30
parent ae3388c058
commit dbb25ecf9a

View File

@ -79,6 +79,15 @@ if (!empty($Status)) {
.icon-button:hover { .icon-button:hover {
color: #0056b3; color: #0056b3;
} }
.th{
text-align:center !important;
}
</style> </style>
<div class="content-page"> <div class="content-page">
@ -123,15 +132,15 @@ if (!empty($Status)) {
<table id="requisition_listing" class="table dt-responsive nowrap w-100"> <table id="requisition_listing" class="table dt-responsive nowrap w-100">
<thead> <thead>
<tr> <tr>
<th>Requisted Date</th> <th class="th">Requisted Date</th>
<th>Requisition No</th> <th class="th">Requisition No</th>
<th>Requisition Type</th> <th class="th">Requisition Type</th>
<th>Tot No.OfLineItem </th> <th class="th">Tot No.OfLineItem </th>
<th>Po CreatedLineItem</th> <th class="th">Po CreatedLineItem</th>
<th>Partially PoCreatedLineItem</th> <th class="th">Partially PoCreatedLineItem</th>
<th>NewLine Item</th> <th class="th">NewLine Item</th>
<th>Status</th> <th class="th">Status</th>
<th>Action</th> <th class="th">Action</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -140,19 +149,19 @@ if (!empty($Status)) {
foreach ($TotNoOfLine as $record) { //print_r($record); foreach ($TotNoOfLine as $record) { //print_r($record);
?> ?>
<tr> <tr>
<td> <?php $Pdt = new DateTime($record->CreatedDate); <td align="center"> <?php $Pdt = new DateTime($record->CreatedDate);
$PODate = $Pdt->format('d-m-Y'); $PODate = $Pdt->format('d-m-Y');
echo $PODate ?> echo $PODate ?>
</td> </td>
<td><?php echo $record->ReqNo ?></td> <td align="center"><?php echo $record->ReqNo ?></td>
<td><?php echo $record->ReqType ?></td> <td align="center"><?php echo $record->ReqType ?></td>
<td><?php echo $record->TotalNoofLineItems ?></td> <td align="center"><?php echo $record->TotalNoofLineItems ?></td>
<td><?php echo $record->PolineItems ?></td> <td align="center"><?php echo $record->PolineItems ?></td>
<td><?php echo $record->PartilallyLineItems ?></td> <td align="center"><?php echo $record->PartilallyLineItems ?></td>
<td> <?php echo $record->newLineItem ?></td> <td align="center"> <?php echo $record->newLineItem ?></td>
<td><?php echo $record->StatusName ?></td> <td align="center"><?php echo $record->StatusName ?></td>
<td> <a data-toggle="tooltip" <td> <a data-toggle="tooltip"
href="<?php echo base_url() . 'EditRequisitionForm?ReqNo=' . $record->ReqNo . '&ReqType=' . $record->ReqType; ?>"><i href="<?php echo base_url() . 'EditRequisitionForm?ReqNo=' . $record->ReqNo . '&ReqType=' . $record->ReqType; ?>"><i