From a9fb5f770bdae7dbb387c14cebb113e94a4e67e5 Mon Sep 17 00:00:00 2001 From: aFolletete Date: Wed, 14 Dec 2011 16:24:35 +0000 Subject: [PATCH] // fix bug on product line edition // put new ressource in getRessources method of Webservice --- classes/webservice/WebserviceRequest.php | 3 +++ js/admin_order.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/classes/webservice/WebserviceRequest.php b/classes/webservice/WebserviceRequest.php index 336ea552e..083a0e155 100644 --- a/classes/webservice/WebserviceRequest.php +++ b/classes/webservice/WebserviceRequest.php @@ -238,10 +238,13 @@ class WebserviceRequestCore 'image_types' => array('description' => 'The image types', 'class' => 'ImageType'), 'languages' => array('description' => 'Shop languages', 'class' => 'Language'), 'manufacturers' => array('description' => 'The product manufacturers','class' => 'Manufacturer'), + 'order_carriers' => array('description' => 'The Order carriers','class' => 'OrderCarrier'), 'order_details' => array('description' => 'Details of an order', 'class' => 'OrderDetail'), 'order_discounts' => array('description' => 'Discounts of an order', 'class' => 'OrderDiscount'), 'order_histories' => array('description' => 'The Order histories','class' => 'OrderHistory'), + 'order_invoices' => array('description' => 'The Order invoices','class' => 'OrderInvoice'), 'orders' => array('description' => 'The Customers orders','class' => 'Order'), + 'order_payments' => array('description' => 'The Order payments','class' => 'OrderPayment'), 'order_states' => array('description' => 'The Order states','class' => 'OrderState'), 'price_ranges' => array('description' => 'Price ranges', 'class' => 'RangePrice'), 'product_features' => array('description' => 'The product features','class' => 'Feature'), diff --git a/js/admin_order.js b/js/admin_order.js index fe6c3b4a2..ce1b840aa 100644 --- a/js/admin_order.js +++ b/js/admin_order.js @@ -307,7 +307,7 @@ $(document).ready(function() { closeAddProduct(); query = 'ajax=1&token='+token+'&action=loadProductInformation&id_order_detail='+ - $(this).parent().parent().find('input.edit_product_id_order_detail').val()+'&id_address='+id_address; + $(this).parent().parent().find('input.edit_product_id_order_detail').val()+'&id_address='+id_address+'&id_order='+id_order; var element = $(this); $.ajax({ type: 'POST',