id_order
This commit is contained in:
parent
7a207b2010
commit
fb61d8b1ad
@ -346,7 +346,7 @@ class AdminAntLogistic extends AdminTab
|
||||
$to_ship[(int) $p['id_order_detail']] = $p['product_quantity'] - ($p['product_quantity_refunded'] > 0? $p['product_quantity_refunded']: $p['product_quantity_return']) - (int) $p['quantity_sent'];
|
||||
}
|
||||
|
||||
if(Validate::isLoadedObject($order)) {
|
||||
if (Validate::isLoadedObject($order)) {
|
||||
$parcel_carrier = Tools::getValue('parcel_carrier', 'laposte');
|
||||
|
||||
if(($weight = Tools::getValue('weight')) && ($products = Tools::getValue('shipped'))) {
|
||||
|
@ -577,6 +577,7 @@ if(($id_order = (int) Tools::getValue('id_order'))
|
||||
<div class="input-group-addon">kg</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="hidden" name="id_order" value="'.$id_order.'" />
|
||||
<input id="button4" onclick="checkPrinting(); return false;" type="submit" class="pull-right btn btn-primary btn-sm" name="submitShip" value="[F1] Enregistrer le colis et imprimer l\'étiquette">
|
||||
</div>';
|
||||
|
||||
|
@ -47,7 +47,9 @@ function checkPrinting() {
|
||||
});
|
||||
|
||||
if(!allok) {
|
||||
prompt("Les quantités scannées sont inférieures aux quantités à envoyer. Confirmer l\'envoi ?", function() { $("#button4").attr("onclick", "").trigger("click"); });
|
||||
prompt("Les quantités scannées sont inférieures aux quantités à envoyer. Confirmer l\'envoi ?", function() {
|
||||
$("#button4").attr("onclick", "").trigger("click");
|
||||
});
|
||||
} else {
|
||||
$("#button4").attr("onclick", "").trigger("click");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user