! -> Note
$ -> Affected files
+10-Sep-2010 Joe Hunt
+! Layout improvements
+$ /gl/inquiry/gl_account_inquiry.php
+ /includes/ui/contacts_view.inc
+ /includes/ui/ui_view.inc
+ /manufacturing/manage/bom_edit.php
+
09-Sep-2010 Janusz Dobrowolski
# Missing focus on sales entry page
$ /sales/includes/ui/sales_order_ui.inc
if ($dim > 1)
dimensions_list_cells(_("Dimension")." 2:", 'Dimension2', null, true, " ", false, 2);
- small_amount_cells(_("Amount min:"), 'amount_min', null);
- small_amount_cells(_("Amount max:"), 'amount_max', null);
+ small_amount_cells(_("Amount min:"), 'amount_min', null, " ");
+ small_amount_cells(_("Amount max:"), 'amount_max', null, " ");
submit_cells('Show',_("Show"),'','', 'default');
end_row();
end_table();
$bfw = get_gl_balance_from_to($begin, $_POST['TransFromDate'], $_POST["account"], $_POST['Dimension'], $_POST['Dimension2']);
start_row("class='inquirybg'");
label_cell("<b>"._("Opening Balance")." - ".$_POST['TransFromDate']."</b>", "colspan=$colspan");
- display_debit_or_credit_cells($bfw);
+ display_debit_or_credit_cells($bfw, true);
label_cell("");
label_cell("");
end_row();
if ($show_balances) {
start_row("class='inquirybg'");
label_cell("<b>" . _("Ending Balance") ." - ".$_POST['TransToDate']. "</b>", "colspan=$colspan");
- display_debit_or_credit_cells($running_total);
+ display_debit_or_credit_cells($running_total, true);
label_cell("");
label_cell("");
end_row();
{
br();
- start_outer_table(TABLESTYLE, "width=80%");
+ start_outer_table(TABLESTYLE);
table_section(1);
table_section_title(_("Contact data"));
email_row(_("E-mail:"), 'email', @$this->data['email'], 35, 55);
table_section(2);
+ table_section_title(" ");
textarea_row(_("Address:"), 'address', @$this->data['address'], 30, 4);
languages_list_row( _("Document Language:"), 'lang', @$this->data['lang'], _("Customer default"));
//--------------------------------------------------------------------------------------
-function display_debit_or_credit_cells($value)
+function display_debit_or_credit_cells($value, $bold=false)
{
$value = round2($value, user_price_dec());
if ($value >= 0)
{
- amount_cell($value);
+ amount_cell($value, $bold);
label_cell("");
}
elseif ($value < 0)
{
label_cell("");
- amount_cell(abs($value));
+ amount_cell(abs($value), $bold);
}
}
start_form(false, true);
start_table(TABLESTYLE_NOBORDER);
-stock_manufactured_items_list_row(_("Select a manufacturable item:"), 'stock_id', null, false, true);
+start_row();
+stock_manufactured_items_list_cells(_("Select a manufacturable item:"), 'stock_id', null, false, true);
+end_row();
if (list_updated('stock_id'))
$Ajax->activate('_page_body');
end_table();
else
{
start_row();
- label_cell(_("Component:"));
+ label_cell(_("Component:"), "class='label'");
echo "<td>";
echo stock_component_items_list('component', $selected_parent, null, false, true);