! -> Note
$ -> Affected files
+22-Nov-2008 Joe Hunt
++ Preparing for Graphic Links final.Optimized.
+$ config.php
+ /admin/create_coy.php
+ /admin/inst_lang.php
+ /admin/inst_module.php
+ /dimensions/inquiry/search_dimensions.php
+ /includes/ui/ui_controls.inc
+ /includes/ui/ui_view.inc
+ /includes/db_pager_view.inc
+ /manufacturing/search_work_orders.php
+ /purchasing/inquiry/po_search.php
+ /purchasing/inquiry/po_search_completed.php
+ /purchasing/inquiry/supplier_allocation_inquiry.php
+ /purchasing/allocations/supplier_allocation_main.php
+ /reporting/includes/reporting.inc
+ /sales/allocations/customer_allocation_main.php
+ /sales/inquiry/customer_allocation_inquiry.php
+ /sales/inquiry/customer_inquiry.php
+ /sales/inquiry/sales_orders_view.php
+ /sales/inquiry/sales_deliveries_view.php
+ /themes/default/images/receive.gif (new file)
+ /themes/aquat/images/receive.gif (new file)
+ /themes/cool/images/receive.gif (new file)
+
+
21-Nov-2008 Joe Hunt
+ Preparing for Graphic Links instead of Text Links (user display option, default)
(new field in 0_users, graphic_links)
<?php
/**********************************************************************
- Copyright (C) 2005-2008 FrontAccounting, LLC.
+ Copyright (C) FrontAccounting, LLC.
Released under the terms of the GNU Affero General Public License,
AGPL, as published by the Free Software Foundation, either version
3 of the License, or (at your option) any later version.
$delete = _("Delete");
if (user_graphic_links())
{
- global $path_to_root;
- $edit = "<img src='$path_to_root/themes/".user_theme()."/images/".ICON_EDIT."' width='14' height='14' border='0' title='$edit' />\n";
- $delete = "<img src='$path_to_root/themes/".user_theme()."/images/".ICON_DELETE."' width='14' height='14' border='0' title='$delete' />\n";
+ $edit = set_icon(ICON_EDIT, $edit);
+ $delete = set_icon(ICON_DELETE, $delete);
}
label_cell("<a href='" . $_SERVER['PHP_SELF']. "?selected_id=$i'>$edit</a>");
label_cell( $i == $coyno ? '' :
<?php
/**********************************************************************
- Copyright (C) 2005-2008 FrontAccounting, LLC.
+ Copyright (C) FrontAccounting, LLC.
Released under the terms of the GNU Affero General Public License,
AGPL, as published by the Free Software Foundation, either version
3 of the License, or (at your option) any later version.
$delete = _("Delete");
if (user_graphic_links())
{
- global $path_to_root;
- $edit = "<img src='$path_to_root/themes/".user_theme()."/images/".ICON_EDIT."' width='14' height='14' border='0' title='$edit' />\n";
- $delete = "<img src='$path_to_root/themes/".user_theme()."/images/".ICON_DELETE."' width='14' height='14' border='0' title='$delete' />\n";
+ $edit = set_icon(ICON_EDIT, $edit);
+ $delete = set_icon(ICON_DELETE, $delete);
}
label_cell("<a href='" . $_SERVER['PHP_SELF']. "?selected_id=$i'>$edit</a>");
label_cell($conn[$i]['code'] == $lang ? '' :
<?php
/**********************************************************************
- Copyright (C) 2005-2008 FrontAccounting, LLC.
+ Copyright (C) FrontAccounting, LLC.
Released under the terms of the GNU Affero General Public License,
AGPL, as published by the Free Software Foundation, either version
3 of the License, or (at your option) any later version.
$delete = _("Delete");
if (user_graphic_links())
{
- global $path_to_root;
- $edit = "<img src='$path_to_root/themes/".user_theme()."/images/".ICON_EDIT."' width='14' height='14' border='0' title='$edit' />\n";
- $delete = "<img src='$path_to_root/themes/".user_theme()."/images/".ICON_DELETE."' width='14' height='14' border='0' title='$delete' />\n";
+ $edit = set_icon(ICON_EDIT, $edit);
+ $delete = set_icon(ICON_DELETE, $delete);
}
label_cell("<a href='" . $_SERVER['PHP_SELF']. "?selected_id=$i'>$edit</a>");
label_cell("<a href='javascript:deleteModule(".$i.", \"" . $mods[$i]['name'] . "\")'>$delete</a>");
<?php
/**********************************************************************
- Copyright (C) 2005-2008 FrontAccounting, LLC.
+ Copyright (C) FrontAccounting, LLC.
Released under the terms of the GNU Affero General Public License,
AGPL, as published by the Free Software Foundation, either version
3 of the License, or (at your option) any later version.
define("ICON_PDF", "pdf.gif");
define("ICON_DOC", "invoice.gif");
define("ICON_CREDIT", "credit.gif");
+ define("ICON_RECEIVE", "receive.gif");
define("ICON_DOWN", "download.gif");
define("ICON_MONEY", "money.png");
define("ICON_REMOVE", "remove.png");
<?php
-
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU Affero General Public License,
+ AGPL, as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/agpl-3.0.html>.
+***********************************************************************/
$page_security = 2;
$path_to_root="../..";
{
return $row["closed"] ? '' :
pager_link(_("Edit"),
- "/dimensions/dimension_entry.php?trans_no=" . $row["id"]);
+ "/dimensions/dimension_entry.php?trans_no=" . $row["id"], ICON_EDIT);
}
$sql = "SELECT dim.id,
<?php
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU Affero General Public License,
+ AGPL, as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/agpl-3.0.html>.
+***********************************************************************/
//--------------------------------------------------------------------------------------------------
-function pager_link($link_text, $url)
+function pager_link($link_text, $url, $icon=false)
{
global $path_to_root;
$link = access_string($link_text);
+ if (user_graphic_links() && $icon)
+ $link[0] = set_icon($icon, $link[0]);
$href = $path_to_root . $url;
return "<a href='$href'$link[1]>" . $link[0] . "</a>";
<?php
/**********************************************************************
- Copyright (C) 2005-2008 FrontAccounting, LLC.
+ Copyright (C) FrontAccounting, LLC.
Released under the terms of the GNU Affero General Public License,
AGPL, as published by the Free Software Foundation, either version
3 of the License, or (at your option) any later version.
//-----------------------------------------------------------------------------------
+function set_icon($icon, $title)
+{
+ global $path_to_root;
+ return "<img src='$path_to_root/themes/".user_theme()."/images/$icon' width='14' height='14' border='0' title='$title' />\n";
+}
+
function button($name, $value, $title=false, $icon=false)
{
// php silently changes dots,spaces,'[' and characters 128-159
// to underscore in POST names, to maintain compatibility with register_globals
if (user_graphic_links() && $icon)
{
- global $path_to_root;
+ if ($value == _("Delete")) // Helper during implementation
+ $icon = ICON_DELETE;
echo "<button type='submit' class='editbutton' name='".
htmlentities(strtr($name, array('.'=>'=2E',' '=>'=20','='=>'=3D','['=>'=5B'))).
- "' value='' /><img src='$path_to_root/themes/".user_theme().
- "/images/$icon' width='14' height='14' border='0' ".($title ? "title='$title'" : "title='$value'")." />\n";
+ "' value='' />".set_icon($icon, ($title ? $title: $value))."\n";
}
else
echo "<input type='submit' class='editbutton' name='"
.htmlentities(strtr($name, array('.'=>'=2E',' '=>'=20','='=>'=3D','['=>'=5B')))
."' value='$value'"
.($title ? " title='$title'":'')." />\n";
-
}
function button_cell($name, $value, $title=false, $icon=false)
<?php
/**********************************************************************
- Copyright (C) 2005-2008 FrontAccounting, LLC.
+ Copyright (C) FrontAccounting, LLC.
Released under the terms of the GNU Affero General Public License,
AGPL, as published by the Free Software Foundation, either version
3 of the License, or (at your option) any later version.
{
$pars = access_string($label);
if (user_graphic_links() && $icon)
- $pars[0] = "<img src='$path_to_root/themes/".user_theme()."/images/$icon' width='14' height='14' border='0' title='$pars[0]' />\n";
+ $pars[0] = set_icon($icon, $pars[0]);
$preview_str = "<a target='_blank' href='$path_to_root/purchasing/view/$viewer?trans_no=$trans_no' onclick=\"javascript:openWindow(this.href,this.target); return false;\"$pars[1]>$pars[0]</a>";
}
else
}
$pars = access_string($label);
if (user_graphic_links() && $icon)
- $pars[0] = "<img src='$path_to_root/themes/".user_theme()."/images/$icon' width='14' height='14' border='0' title='$pars[0]' />\n";
+ $pars[0] = set_icon($icon, $pars[0]);
$gl_view = "<a target='_blank' href='$path_to_root/gl/view/gl_trans_view.php?type_id=$type&trans_no=$trans_no' onclick=\"javascript:openWindow(this.href,this.target); return false;\"$pars[1]>$pars[0]</a>";
return $gl_view;
{
$pars = access_string($lbl);
if (user_graphic_links() && $icon)
- $pars[0] = "<img src='$path_to_root/themes/".user_theme()."/images/$icon' width='14' height='14' border='0' title='$pars[0]' />\n";
+ $pars[0] = set_icon($icon, $pars[0]);
$preview_str .= "<a target='_blank' href='$path_to_root/sales/view/$viewer?trans_no=$trans' onclick=\"javascript:openWindow(this.href,this.target); return false;\" $pars[1]>$pars[0]</a>";
}
else
{
$pars = access_string($label);
if (user_graphic_links() && $icon)
- $pars[0] = "<img src='$path_to_root/themes/".user_theme()."/images/$icon' width='14' height='14' border='0' title='$pars[0]' />\n";
+ $pars[0] = set_icon($icon, $pars[0]);
$preview_str = "<a target='_blank' href='$path_to_root/gl/view/$viewer?trans_no=$trans_no' onclick=\"javascript:openWindow(this.href,this.target); return false;\"$pars[1]>$pars[0]</a>";
}
else
{
$pars = access_string($label);
if (user_graphic_links() && $icon)
- $pars[0] = "<img src='$path_to_root/themes/".user_theme()."/images/$icon' width='14' height='14' border='0' title='$pars[0]' />\n";
+ $pars[0] = set_icon($icon, $pars[0]);
$preview_str = "<a target='_blank' href='$path_to_root/inventory/view/$viewer?trans_no=$trans_no' onclick=\"javascript:openWindow(this.href,this.target); return false;\"$pars[1]>$pars[0]</a>";
}
else
{
$pars = access_string($label);
if (user_graphic_links() && $icon)
- $pars[0] = "<img src='$path_to_root/themes/".user_theme()."/images/$icon' width='14' height='14' border='0' title='$pars[0]' />\n";
+ $pars[0] = set_icon($icon, $pars[0]);
$preview_str = "<a target='_blank' href='$path_to_root/manufacturing/view/$viewer?trans_no=$trans_no' onclick=\"javascript:openWindow(this.href,this.target); return false;\"$pars[1]>$pars[0]</a>";
}
else
{
$pars = access_string($label);
if (user_graphic_links() && $icon)
- $pars[0] = "<img src='$path_to_root/themes/".user_theme()."/images/$icon' width='14' height='14' border='0' title='$pars[0]' />\n";
+ $pars[0] = set_icon($icon, $pars[0]);
$preview_str = "<a target='_blank' href='$path_to_root/dimensions/view/$viewer?trans_no=$trans_no' onclick=\"javascript:openWindow(this.href,this.target); return false;\"$pars[1]>$pars[0]</a>";
}
else
$installed_languages = array (
0 => array ('code' => 'en_GB', 'name' => 'English', 'encoding' => 'iso-8859-1'),
- array ('code' => 'en_US', 'name' => 'English (US)', 'encoding' => 'iso-8859-1')
+ array ('code' => 'en_US', 'name' => 'English (US)', 'encoding' => 'iso-8859-1'),
);
?>
\ No newline at end of file
<?php
-
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU Affero General Public License,
+ AGPL, as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/agpl-3.0.html>.
+***********************************************************************/
$page_security = 2;
$path_to_root="..";
include($path_to_root . "/includes/db_pager.inc");
{
return $row['closed'] ? '<i>'._('Closed').'</i>' :
pager_link(_("Edit"),
- "/manufacturing/work_order_entry.php?trans_no=" . $row["id"]);
+ "/manufacturing/work_order_entry.php?trans_no=" . $row["id"], ICON_EDIT);
}
function release_link($row)
<?php
-
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU Affero General Public License,
+ AGPL, as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/agpl-3.0.html>.
+***********************************************************************/
$path_to_root="../..";
$page_security = 3;
include($path_to_root . "/includes/db_pager.inc");
{
return pager_link(_("Allocate"),
"/purchasing/allocations/supplier_allocate.php?trans_no="
- .$row["trans_no"] . "&trans_type=" . $row["type"] );
+ .$row["trans_no"] . "&trans_type=" . $row["type"], ICON_MONEY );
}
function amount_left($row)
<?php
-
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU Affero General Public License,
+ AGPL, as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/agpl-3.0.html>.
+***********************************************************************/
$page_security = 2;
$path_to_root="../..";
include($path_to_root . "/includes/db_pager.inc");
{
return pager_link( _("Edit"),
"/purchasing/po_entry_items.php?" . SID
- . "ModifyOrderNumber=" . $row["order_no"]);
+ . "ModifyOrderNumber=" . $row["order_no"], ICON_EDIT);
}
function prt_link($row)
{
- return print_document_link($row['order_no'], _("Print"), true, 18);
+ return print_document_link($row['order_no'], _("Print"), true, 18, ICON_PRINT);
}
function receive_link($row)
{
return pager_link( _("Receive"),
"/purchasing/po_receive_items.php?" . SID
- . "PONumber=" . $row["order_no"]);
+ . "PONumber=" . $row["order_no"], ICON_RECEIVE);
}
function check_overdue($row)
<?php
-
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU Affero General Public License,
+ AGPL, as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/agpl-3.0.html>.
+***********************************************************************/
$page_security = 2;
$path_to_root="../..";
include($path_to_root . "/includes/db_pager.inc");
function prt_link($row)
{
- return print_document_link($row['order_no'], _("Print"), true, 18);
+ return print_document_link($row['order_no'], _("Print"), true, 18, ICON_PRINT);
}
//---------------------------------------------------------------------------------------------
<?php
-
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU Affero General Public License,
+ AGPL, as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/agpl-3.0.html>.
+***********************************************************************/
$page_security=2;
$path_to_root="../..";
include($path_to_root . "/includes/db_pager.inc");
$link =
pager_link(_("Allocations"),
"/purchasing/allocations/supplier_allocate.php?trans_no=" .
- $row["trans_no"]. "&trans_type=" . $row["type"] );
+ $row["trans_no"]. "&trans_type=" . $row["type"], ICON_MONEY );
return (($row["type"] == 1 || $row["type"] == 21 || $row["type"] == 22)
&& (-$row["TotalAmount"] - $row["Allocated"]) > 0)
<?php
/**********************************************************************
- Copyright (C) 2005-2008 FrontAccounting, LLC.
+ Copyright (C) FrontAccounting, LLC.
Released under the terms of the GNU Affero General Public License,
AGPL, as published by the Free Software Foundation, either version
3 of the License, or (at your option) any later version.
$class = $pdf_debug ? '' : "class='printlink'";
$pars = access_string($link_text);
if (user_graphic_links() && $icon)
- $pars[0] = "<img src='$path_to_root/themes/".user_theme()."/images/$icon' width='14' height='14' border='0' title='$pars[0]' />\n";
+ $pars[0] = set_icon($icon, $pars[0]);
return "<a $class target='_blank' href='$url'$pars[1]>$pars[0]</a>";
}
<?php
-
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU Affero General Public License,
+ AGPL, as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/agpl-3.0.html>.
+***********************************************************************/
$path_to_root="../..";
$page_security = 3;
include($path_to_root . "/includes/db_pager.inc");
{
return pager_link(_("Allocate"),
"/sales/allocations/customer_allocate.php?trans_no="
- .$row["trans_no"] . "&trans_type=" . $row["type"]
- );
+ .$row["trans_no"] . "&trans_type=" . $row["type"], ICON_MONEY);
}
function amount_left($row)
<?php
-
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU Affero General Public License,
+ AGPL, as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/agpl-3.0.html>.
+***********************************************************************/
$page_security = 1;
$path_to_root="../..";
include($path_to_root . "/includes/db_pager.inc");
$link =
pager_link(_("Allocation"),
"/sales/allocations/customer_allocate.php?trans_no=" . $row["trans_no"]
- ."&trans_type=" . $row["type"]);
+ ."&trans_type=" . $row["type"], ICON_MONEY);
if ($row["type"] == 11 && $row['TotalAmount'] > 0)
{
<?php
-
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU Affero General Public License,
+ AGPL, as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/agpl-3.0.html>.
+***********************************************************************/
$page_security = 1;
$path_to_root="../..";
include($path_to_root . "/includes/db_pager.inc");
return $row['type'] == 10 ?
pager_link(_("Credit This"),
"/sales/customer_credit_invoice.php?InvoiceNumber=".
- $row['trans_no'])
+ $row['trans_no'], ICON_CREDIT)
: '';
}
$str = "/sales/customer_delivery.php?ModifyDelivery=".$row['trans_no'];
break;
}
- return pager_link(_('Edit'), $str);
+ return pager_link(_('Edit'), $str, ICON_EDIT);
}
function prt_link($row)
{
if ($row['type'] != 12) // customer payment printout not defined yet.
- return print_document_link($row['trans_no'], _("Print"), true, $row['type']);
+ return print_document_link($row['trans_no'], _("Print"), true, $row['type'], ICON_PRINT);
}
function check_overdue($row)
<?php
-
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU Affero General Public License,
+ AGPL, as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/agpl-3.0.html>.
+***********************************************************************/
$page_security = 2;
$path_to_root="../..";
include($path_to_root . "/includes/db_pager.inc");
{
return $row["Outstanding"]==0 ? '' :
pager_link(_('Edit'), "/sales/customer_delivery.php?ModifyDelivery="
- .$row['trans_no']);
+ .$row['trans_no'], ICON_EDIT);
}
function prt_link($row)
{
- return print_document_link($row['trans_no'], _("Print"), true, 13);
+ return print_document_link($row['trans_no'], _("Print"), true, 13, ICON_PRINT);
}
function invoice_link($row)
{
return $row["Outstanding"]==0 ? '' :
pager_link(_('Invoice'), "/sales/customer_invoice.php?DeliveryNumber="
- .$row['trans_no']);
+ .$row['trans_no'], ICON_DOC);
}
function check_overdue($row)
<?php
-
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU Affero General Public License,
+ AGPL, as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/agpl-3.0.html>.
+***********************************************************************/
$page_security = 2;
$path_to_root="../..";
function prt_link($row)
{
- return print_document_link($row['order_no'], _("Print"), true, 30);
+ return print_document_link($row['order_no'], _("Print"), true, 30, ICON_PRINT);
}
function edit_link($row)
{
return pager_link( _("Edit"),
- "/sales/sales_order_entry.php?" . SID . "ModifyOrderNumber=" . $row['order_no']);
+ "/sales/sales_order_entry.php?" . SID . "ModifyOrderNumber=" . $row['order_no'], ICON_EDIT);
}
function dispatch_link($row)
{
return pager_link( _("Dispatch"),
- "/sales/customer_delivery.php?" . SID . "OrderNumber=" .$row['order_no']);
+ "/sales/customer_delivery.php?" . SID . "OrderNumber=" .$row['order_no'], ICON_DOC);
}
function invoice_link($row)
{
return pager_link( _("Invoice"),
- "/sales/sales_order_entry.php?" . SID . "NewInvoice=" .$row["order_no"]);
+ "/sales/sales_order_entry.php?" . SID . "NewInvoice=" .$row["order_no"], ICON_DOC);
}
function delivery_link($row)
{
return pager_link( _("Delivery"),
- "/sales/sales_order_entry.php?" . SID . "NewDelivery=" .$row['order_no']);
+ "/sales/sales_order_entry.php?" . SID . "NewDelivery=" .$row['order_no'], ICON_DOC);
}
function tmpl_checkbox($row)