diff --git a/equipments_mass_update.php b/equipments_mass_update.php index 4025314..ab02e8d 100644 --- a/equipments_mass_update.php +++ b/equipments_mass_update.php @@ -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 = ' - - - + + + @@ -120,7 +124,7 @@ if ($update_allowed === 1){ - + diff --git a/settings/translations/translations_NL.php b/settings/translations/translations_NL.php index 880ede6..500ad92 100644 --- a/settings/translations/translations_NL.php +++ b/settings/translations/translations_NL.php @@ -209,6 +209,10 @@ $mass_update_confirm_message = 'Update uitvoeren?'; $mass_update_correct = 'Update doorgevoerd'; $mass_update_not_found = 'niet gevonden'; +$mass_update_order_ref = 'Order referentie'; +$mass_update_order_total = 'Order totaal'; +$mass_update_customer = 'Klant'; + $paste_excel_h3 = 'Serienummers toevoegen'; $paste_excel_1 = 'Serienummers toevoegen of plakken vanuit excel'; $paste_excel_2 = '1 nummer per regel'; diff --git a/settings/translations/translations_US.php b/settings/translations/translations_US.php index 0a29a5d..c21fe5a 100644 --- a/settings/translations/translations_US.php +++ b/settings/translations/translations_US.php @@ -209,6 +209,10 @@ $mass_update_confirm_message = 'Process update?'; $mass_update_correct = 'Update done'; $mass_update_not_found = 'not found'; +$mass_update_order_ref = 'Order reference'; +$mass_update_order_total = 'Order total'; +$mass_update_customer = 'Customer'; + $paste_excel_h3 = 'Insert serialnumbers'; $paste_excel_1 = 'Add serialnumber or paste from excel'; $paste_excel_2 = '1 number per line';
Order_refOrder total'.$general_soldto.''.$mass_update_order_ref.''.$mass_update_order_total.''.$mass_update_customer.'
'.($_POST['order_ref'] ?? '').' '.$total_rowID.''.($_POST['soldto'] ?? '').''.$customer.'