Mass_update improvements
This commit is contained in:
@@ -106,13 +106,17 @@ if ($update_allowed === 1){
|
||||
//Totals
|
||||
$total_input = $total_rowID + $total_not_found;
|
||||
$total_summary = '('.$total_rowID.$general_page_of.$total_input.')';
|
||||
|
||||
//CHECK if shipto exists if not empty. Use shipto when soldto not available
|
||||
$shipto = (isset($_POST['shipto']) ? $_POST['shipto'] : '');
|
||||
$customer = (isset($_POST['soldto']) ? $_POST['soldto'] : $shipto);
|
||||
|
||||
$order_header = '<table style="margin-bottom: 15px;">
|
||||
<thead style="text-align: left;">
|
||||
<tr>
|
||||
<th>Order_ref</th>
|
||||
<th>Order total</th>
|
||||
<th>'.$general_soldto.'</th>
|
||||
<th>'.$mass_update_order_ref.'</th>
|
||||
<th>'.$mass_update_order_total.'</th>
|
||||
<th>'.$mass_update_customer.'</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -120,7 +124,7 @@ if ($update_allowed === 1){
|
||||
<tr>
|
||||
<td>'.($_POST['order_ref'] ?? '').'</td>
|
||||
<td>'.$total_rowID.'</td>
|
||||
<td>'.($_POST['soldto'] ?? '').'</td>
|
||||
<td>'.$customer.'</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user