Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table class="tbl-qa" border="1" id="content-table">
- <thead>
- <tr>
- <th class="table-header">ID<?php ?><input onclick="assignallorderids()" type="checkbox" name="checkall" id="checkall"/><?php ?></th>
- <th class="table-header">AWB</th>
- <th class="table-header">ORDERID</th>
- <th class="table-header">Status</th>
- <th class="table-header">Last Reason</th>
- <th class="table-header">Payment Type</th>
- <th class="table-header">Declared value</th>
- <th class="table-header">Destination</th>
- <th class="table-header">Consignee</th>
- <th class="table-header">Last Update Date</th>
- <th class="id">
- No. Of Attempts
- <a href="javascript:sort(true, 'id', 'content-table');" >asc</a>
- <a href="javascript:sort(false, 'id', 'content-table');" >des</a>
- </th>
- <th class="table-header">My Name</th>
- <th class="table-header">Final comments</th>
- </tr>
- </thead>
- <tbody id="table-body">
- <?php
- if(!empty($orderrecords))
- {
- foreach($orderrecords as $k=>$v)
- {
- $hide='';
- if ($row['in_transit'] == "Delivered / Closed")
- {
- $hide .= 'style="display: none;"';
- }
- ?>
- <tr vale="<?php echo $hide;?>" class="table-row" id="table-row-<?php echo $orderrecords[$k]["id"]; ?>" tabindex="<?php echo $tabindex;?>">
- <td> <input type="checkbox" id="assigneeid-<?php echo $orderrecords[$k]["order_id"]; ?>" onclick="assignorderids('<?php echo $orderrecords[$k]["order_id"]; ?>')" name="checkassigneeid" class="assigneeid-order" value="<?php echo $orderrecords[$k]["order_id"]; ?>"> </td>
- <td><?php echo $orderrecords[$k]["tracking_id"]; ?></td>
- <td><?php echo $orderrecords[$k]["order_id"]; ?></td>
- <td id="<?php echo $orderrecords[$k]["order_id"];?>">
- <?php
- echo $orderrecords[$k]["in_transit"];
- ?>
- </td>
- <td><?php echo $orderrecords[$k]["last_reason"]; ?></td>
- <td><?php echo $orderrecords[$k]["payment_type"]; ?></td>
- <td><?php echo $orderrecords[$k]["declared_value"]; ?></td>
- <td><?php echo $orderrecords[$k]["destination_city"]; ?></td>
- <td><?php echo $orderrecords[$k]["consignee"]; ?></td>
- <td><?php echo $orderrecords[$k]["last_update_date"]; ?></td>
- <td class="id"><?php echo $orderrecords[$k]["no_of_attempts"]; ?></td>
- <td <?php if($userdepart==0 ){?>contenteditable="true" onBlur="saveToDatabase(this,'name','<?php echo $orderrecords[$k]["id"]; ?>')"<?php }?>><?php echo substr($orderrecords[$k]["name"],0,75); ?></td>
- <td <?php if($userdepart==0 ){?>contenteditable="true" onBlur="saveToDatabase(this,'comments','<?php echo $orderrecords[$k]["id"]; ?>')"<?php }?>><?php echo substr($orderrecords[$k]["comments"],0,75); ?></td>
- </tr>
- <?php
- $tabindex++;
- }
- }?>
- </tbody>
- </table>
Add Comment
Please, Sign In to add comment