Other layout improvements.
! -> Note
$ -> Affected files
+05-Oct-2010 Joe Hunt
+# [00000257] Bad Layout in sales order inquiry etc. (long item descriptions)
+$ /sales/inquiry/sales_orders_view.php
+ /sales/inquiry/sales_deliveries_view.php
+ /purchasing/inquiry/po_search.php
+ /purchasing/inquiry/po_search_completed.php
+ /inventory/inquiry/stock_movements.php
+ /gl/inquiry/gl_account_inquiry.php
+! Other layour improvements
+ /admin/fiscalyears.php
+ /taxes/tax_groups.php
+ /taxes/tax_types.php
+
05-Oct-2010 Janusz Dobrowolski
# Fixed contact type for language selection
$ reporting/rep107.php
start_form();
display_note(_("Warning: Deleting a fiscal year all transactions
are removed and converted into relevant balances. This process is irreversible!"),
- 0, 0, "class='currentfg'");
+ 0, 1, "class='currentfg'");
start_table(TABLESTYLE);
$th = array(_("Fiscal Year Begin"), _("Fiscal Year End"), _("Closed"), "", "");
end_row();
end_table();
- start_table();
+ start_table(TABLESTYLE_NOBORDER);
start_row();
if ($dim >= 1)
dimensions_list_cells(_("Dimension")." 1:", 'Dimension', null, true, " ", false, 1);
$_POST['stock_id'] = get_global_stock_item();
start_table(TABLESTYLE_NOBORDER);
-
+start_row();
stock_items_list_cells(_("Item:"), 'stock_id', $_POST['stock_id']);
+end_row();
+end_table();
+
+start_table(TABLESTYLE_NOBORDER);
+start_row();
locations_list_cells(_("From Location:"), 'StockLocation', null);
date_cells(_("To:"), 'BeforeDate');
submit_cells('ShowMoves',_("Show Movements"),'',_('Refresh Inquiry'), 'default');
+end_row();
end_table();
end_form();
date_cells(_("to:"), 'OrdersToDate');
locations_list_cells(_("Location:"), 'StockLocation', null, true);
+end_row();
+end_table();
+
+start_table(TABLESTYLE_NOBORDER);
+start_row();
stock_items_list_cells(_("Item:"), 'SelectStockFromList', null, true);
submit_cells('SearchOrders', _("Search"),'',_('Select documents'), 'default');
end_row();
-end_table();
+end_table(1);
//---------------------------------------------------------------------------------------------
function trans_view($trans)
{
date_cells(_("to:"), 'OrdersToDate');
locations_list_cells(_("into location:"), 'StockLocation', null, true);
+end_row();
+end_table();
+
+start_table(TABLESTYLE_NOBORDER);
+start_row();
stock_items_list_cells(_("for item:"), 'SelectStockFromList', null, true);
submit_cells('SearchOrders', _("Search"),'',_('Select documents'), 'default');
end_row();
-end_table();
+end_table(1);
//---------------------------------------------------------------------------------------------
if (isset($_POST['order_number']))
{
date_cells(_("to:"), 'DeliveryToDate', '', null, 1);
locations_list_cells(_("Location:"), 'StockLocation', null, true);
+end_row();
+
+end_table();
+start_table(TABLESTYLE_NOBORDER);
+start_row();
stock_items_list_cells(_("Item:"), 'SelectStockFromList', null, true);
end_row();
-end_table();
+end_table(1);
//---------------------------------------------------------------------------------------------
if (isset($_POST['SelectStockFromList']) && ($_POST['SelectStockFromList'] != "") &&
date_cells(_("to:"), 'OrdersToDate', '', null, 1);
}
locations_list_cells(_("Location:"), 'StockLocation', null, true);
+end_row();
+end_table();
+
+start_table(TABLESTYLE_NOBORDER);
+start_row();
stock_items_list_cells(_("Item:"), 'SelectStockFromList', null, true);
if ($trans_type == ST_SALESQUOTE)
check_cells(_("Show All:"), 'show_all');
-submit_cells('SearchOrders', _("Search"),'',_('Select documents'), 'default');
+submit_cells('SearchOrders', _("Search"),'',_('Select documents'), 'default');
hidden('order_view_mode', $_POST['order_view_mode']);
hidden('type', $trans_type);
end_table();
-display_note(_("Select the taxes that are included in this group."), 1);
+display_note(_("Select the taxes that are included in this group."), 1, 1);
start_table(TABLESTYLE2);
//$th = array(_("Tax"), _("Default Rate (%)"), _("Rate (%)"));
start_form();
-display_note(_("To avoid problems with manual journal entry all tax types should have unique Sales/Purchasing GL accounts."));
+display_note(_("To avoid problems with manual journal entry all tax types should have unique Sales/Purchasing GL accounts."), 0, 1);
start_table(TABLESTYLE);
$th = array(_("Description"), _("Default Rate (%)"),