X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fmanage%2Fcustomers.php;h=87389b605caa638847ab7c4ddc7e835ceb99a188;hb=c4eae7a18f0eb824e6eda7be2ba6fa820e9e58c9;hp=415aa584a9f5224d70864b2d49bd6de170a562f4;hpb=0a81fcfd59871fdf30e1dddcc8af6d223e815f8b;p=fa-stable.git diff --git a/sales/manage/customers.php b/sales/manage/customers.php index 415aa584..87389b60 100644 --- a/sales/manage/customers.php +++ b/sales/manage/customers.php @@ -1,13 +1,13 @@ . + See the License here . ***********************************************************************/ $page_security = 3; $path_to_root="../.."; @@ -198,11 +198,9 @@ else hidden('customer_id'); } -br(); -start_table($table_style2, 5); -echo ""; // outer table +start_outer_table($table_style2, 5); -echo ""; +table_section(1); if ($new_customer) { @@ -245,11 +243,10 @@ table_section_title(_("Name and Address")); text_row(_("Customer Name:"), 'CustName', $_POST['CustName'], 40, 40); textarea_row(_("Address:"), 'address', $_POST['address'], 35, 5); -text_row("" . _("E-mail:") . "", 'email', null, 40, 40); +email_row(_("E-mail:"), 'email', null, 40, 40); text_row(_("GSTNo:"), 'tax_id', null, 40, 40); -// Sherifoz 23.09.03 currency can't be changed if editing if ($new_customer) { currencies_list_row(_("Customer's Currency:"), 'curr_code', $_POST['curr_code']); @@ -259,11 +256,8 @@ else label_row(_("Customer's Currency:"), $_POST['curr_code']); hidden('curr_code', $_POST['curr_code']); } -end_table(); -echo "
"; // outer table - -echo""; +table_section(2); table_section_title(_("Sales")); @@ -292,19 +286,19 @@ if (!$new_customer) { "debtor_no=".$_POST['customer_id']); end_row(); } -end_table(); -end_table(1); // outer table +end_outer_table(1); + div_start('controls'); if ($new_customer) { - submit_center('submit', _("Add New Customer"), true, '', true); + submit_center('submit', _("Add New Customer"), true, '', 'default'); } else { submit_center_first('submit', _("Update Customer"), _('Update customer data'), true); - submit_return('select', _("Return"), _("Select this customer and return to document entry."), true); + submit_return('select', _("Return"), _("Select this customer and return to document entry."), 'default'); submit_center_last('delete', _("Delete Customer"), _('Delete customer data if have been never used'), true); }