X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fmanage%2Fcustomers.php;h=133505304e1b962ae7ee23b283e6044d020e5d98;hb=b2ddc6a6ed30ad69721b7d54610935020cf24247;hp=fd4864899b87a9ddd4f0f1b7729eb5cf377d8138;hpb=bd3023c1b5e64429043358a691b3aae20eb54c09;p=fa-stable.git diff --git a/sales/manage/customers.php b/sales/manage/customers.php index fd486489..13350530 100644 --- a/sales/manage/customers.php +++ b/sales/manage/customers.php @@ -205,7 +205,7 @@ function customer_settings($selected_id) text_row(_("GSTNo:"), 'tax_id', null, 40, 40); - if (!$selected_id) + if (!$selected_id || is_new_customer($selected_id)) { currencies_list_row(_("Customer's Currency:"), 'curr_code', $_POST['curr_code']); } @@ -241,7 +241,7 @@ function customer_settings($selected_id) if ($selected_id) { start_row(); - echo ''._('Customer branches').':'; + echo ''._('Customer branches').':'; hyperlink_params_td($path_to_root . "/sales/manage/customer_branches.php", ''. (@$_REQUEST['popup'] ? _("Select or &Add") : _("&Add or Edit ")).'', "debtor_no=".$selected_id.(@$_REQUEST['popup'] ? '&popup=1':'')); @@ -297,8 +297,8 @@ if (!$selected_id) unset($_POST['_tabs_sel']); // force settings tab for new customer tabbed_content_start('tabs', array( - 'settings' => array('&General settings', $selected_id), - 'contacts' => array('&Contacts', $selected_id), + 'settings' => array(_('&General settings'), $selected_id), + 'contacts' => array(_('&Contacts'), $selected_id), )); switch (get_post('_tabs_sel')) {