From: Joe Hunt Date: Thu, 5 May 2011 21:15:36 +0000 (+0200) Subject: Allow editing of sales orders in Delivery Against Sales Orders X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=1f5e555fef373c702ec3753c1ecf6a3798a483d4;p=textcart.git Allow editing of sales orders in Delivery Against Sales Orders --- diff --git a/sales/inquiry/sales_orders_view.php b/sales/inquiry/sales_orders_view.php index 2fa4fd1..27892ad 100644 --- a/sales/inquiry/sales_orders_view.php +++ b/sales/inquiry/sales_orders_view.php @@ -276,9 +276,11 @@ else 'Type' => 'skip', _("Currency") => array('align'=>'center') ); -if ($_POST['order_view_mode'] == 'OutstandingOnly') { - //array_substitute($cols, 3, 1, _("Cust Order Ref")); - array_append($cols, array(array('insert'=>true, 'fun'=>'dispatch_link'))); +if ($_POST['order_view_mode'] == 'OutstandingOnly') { + //array_substitute($cols, 3, 1, _("Cust Order Ref")); + array_append($cols, array( + array('insert'=>true, 'fun'=>'dispatch_link'), + array('insert'=>true, 'fun'=>'edit_link'))); } elseif ($_POST['order_view_mode'] == 'InvoiceTemplates') { array_substitute($cols, 3, 1, _("Description"));