X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fui%2Fui_input.inc;h=b3cb79b17d024c7fbe5c487910f605cc3cb3c5a6;hb=c8145b03ed9754bd9552ccdac38b41b73550a69f;hp=d72b8b18638a1caae2cf1338fccd32f1f198e00e;hpb=5b8f4c4b4aa8cf996bc071f116bfce1273200fa2;p=fa-stable.git diff --git a/includes/ui/ui_input.inc b/includes/ui/ui_input.inc index d72b8b18..b3cb79b1 100644 --- a/includes/ui/ui_input.inc +++ b/includes/ui/ui_input.inc @@ -943,26 +943,6 @@ function supplier_credit_row($supplier, $credit, $parms='') ."", $parms); } -/* - Edit transaction link to be used in transaction inquires -*/ -function edit_trans_link($trans_type, $trans_no, $url='') -{ - global $path_to_root, $trans_editors; - - if (!$url) $url = @$trans_editors[$trans_type]; - - if (!$trans_no || !$url) - return ''; - - if (is_closed_trans($trans_type, $trans_no)) { - return set_icon(ICON_CLOSED, _('Closed')); - } else { - $link_text = user_graphic_links() ? set_icon(ICON_EDIT, _('Edit')) : _('Edit'); - return "$link_text"; - } -} - function bank_balance_row($bank_acc, $parms='') { global $path_to_root;