! -> Note
$ -> Affected files
+27-Oct-2009 Joe Hunt
+# Removed unneeded double forms in scripts with db_pager. Missing $_POST variables.
+$ /dimensions/inquiry/search_dimensions.php
+ /manufacturing/search_work_orders.php
+ /purchasing/allocations/supplier_allocation_main.php
+ /purchasing/inquiry/po_search_completed.php
+ /purchasing/inquiry/po_search.php
+ /purchasing/inquiry/supplier_inquiry.php
+ /purchasing/inquiry/supplier_allocation_inquiry.php
+ /sales/inquiry/customer_allocation_inquiry.php
+ /sales/inquiry/sales_deliveries_view.php
+ /sales/inquiry/sales_orders_view.php
+ /sales/inquiry/customer_inquiry.php
+
26-Oct-2009 Janusz Dobrowolski
# [0000177] Fixed error during gl class update.
$ /gl/includes/db/gl_db_account_types.inc
end_row();
end_table();
-end_form();
-
$dim = get_company_pref('use_dimension');
function view_link($row)
$table->set_marker('is_overdue', _("Marked dimensions are overdue."));
$table->width = "80%";
-start_form();
display_db_pager($table);
end_row();
end_table();
-end_form();
-
//-----------------------------------------------------------------------------
function check_overdue($row)
{
$table->set_marker('check_overdue', _("Marked orders are overdue."));
$table->width = "90%";
-start_form();
display_db_pager($table);
echo "<br>";
check(_("Show Settled Items:"), 'ShowSettled', null, true);
echo "</center><br><br>";
- end_form();
set_global_supplier($_POST['supplier_id']);
if (isset($_POST['supplier_id']) && ($_POST['supplier_id'] == ALL_TEXT))
$table->set_marker('check_settled', _("Marked items are settled."), 'settledbg', 'settledfg');
$table->width = "80%";
-start_form();
display_db_pager($table);
submit_cells('SearchOrders', _("Search"),'',_('Select documents'), 'default');
end_row();
end_table();
-end_form();
//---------------------------------------------------------------------------------------------
function trans_view($trans)
{
$table->set_marker('check_overdue', _("Marked orders have overdue items."));
$table->width = "80%";
-start_form();
display_db_pager($table);
submit_cells('SearchOrders', _("Search"),'',_('Select documents'), 'default');
end_row();
end_table();
-end_form();
//---------------------------------------------------------------------------------------------
if (isset($_POST['order_number']))
{
$table =& new_db_pager('orders_tbl', $sql, $cols);
$table->width = "80%";
-start_form();
display_db_pager($table);
end_row();
end_table();
-end_form();
//------------------------------------------------------------------------------------------------
function check_overdue($row)
{
$table->set_marker('check_overdue', _("Marked items are overdue."));
$table->width = "90%";
-start_form();
display_db_pager($table);
end_row();
end_table();
-end_form();
set_global_supplier($_POST['supplier_id']);
//------------------------------------------------------------------------------------------------
$table->set_marker('check_overdue', _("Marked items are overdue."));
$table->width = "85%";
-start_form();
display_db_pager($table);
end_row();
end_table();
-end_form();
//------------------------------------------------------------------------------------------------
function check_overdue($row)
{
$table->set_marker('check_overdue', _("Marked items are overdue."));
$table->width = "80%";
-start_form();
display_db_pager($table);
submit_cells('RefreshInquiry', _("Search"),'',_('Refresh Inquiry'), 'default');
end_row();
end_table();
-end_form();
+
set_global_customer($_POST['customer_id']);
//------------------------------------------------------------------------------------------------
$table->width = "85%";
-start_form();
display_db_pager($table);
end_form();
end_row();
end_table();
-end_form();
//---------------------------------------------------------------------------------------------
if (isset($_POST['SelectStockFromList']) && ($_POST['SelectStockFromList'] != "") &&
//$table->width = "92%";
-start_form();
-
display_db_pager($table);
end_form();
end_row();
end_table(1);
-end_form();
//---------------------------------------------------------------------------------------------
// Orders inquiry table
//
$table->set_marker('check_overdue', _("Marked items are overdue."));
$table->width = "80%";
-start_form();
display_db_pager($table);
submit_center('Update', _("Update"), true, '', null);