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']);
}
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':''));
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')) {