Rerun. Bug in amount selection
[fa-stable.git] / sales / manage / customers.php
index fd4864899b87a9ddd4f0f1b7729eb5cf377d8138..133505304e1b962ae7ee23b283e6044d020e5d98 100644 (file)
@@ -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 '<td>'._('Customer branches').':</td>';
+               echo '<td class="label">'._('Customer branches').':</td>';
                hyperlink_params_td($path_to_root . "/sales/manage/customer_branches.php",
                        '<b>'. (@$_REQUEST['popup'] ?  _("Select or &Add") : _("&Add or Edit ")).'</b>', 
                        "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')) {