projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initialized upgrade procedures for FA 2.4
[fa-stable.git]
/
sales
/
manage
/
customers.php
diff --git
a/sales/manage/customers.php
b/sales/manage/customers.php
index ee19756583bc2510c0da74ab3b960933c4eb5d52..133505304e1b962ae7ee23b283e6044d020e5d98 100644
(file)
--- 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);
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']);
}
{
currencies_list_row(_("Customer's Currency:"), 'curr_code', $_POST['curr_code']);
}
@@
-297,8
+297,8
@@
if (!$selected_id)
unset($_POST['_tabs_sel']); // force settings tab for new customer
tabbed_content_start('tabs', array(
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')) {
));
switch (get_post('_tabs_sel')) {