Added trans_editor_link helper.
[fa-stable.git] / sales / inquiry / sales_deliveries_view.php
index bc1f3a9954eacf40a0af7b1982d34b55613e9fda..b9ed9b6e6b06cc4a015307fb53706ca4b71b83d6 100644 (file)
@@ -140,8 +140,7 @@ function batch_checkbox($row)
 function edit_link($row)
 {
        return $row["Outstanding"]==0 ? '' :
-               pager_link(_('Edit'), "/sales/customer_delivery.php?ModifyDelivery="
-                       .$row['trans_no'], ICON_EDIT);
+               trans_editor_link(ST_CUSTDELIVERY, $row['trans_no']);
 }
 
 function prt_link($row)