projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
029cbb3
)
Improved design in Suppliers form.
author
Joe
<unknown>
Sun, 4 Jan 2015 23:29:00 +0000
(
00:29
+0100)
committer
Joe
<unknown>
Sun, 4 Jan 2015 23:29:00 +0000
(
00:29
+0100)
purchasing/manage/suppliers.php
patch
|
blob
|
history
diff --git
a/purchasing/manage/suppliers.php
b/purchasing/manage/suppliers.php
index a14c4dcd67745086feb918ac9de94d59edfa3d10..058f2bc1b2789fc18611d8fba65e8c3575d503b4 100644
(file)
--- a/
purchasing/manage/suppliers.php
+++ b/
purchasing/manage/suppliers.php
@@
-141,6
+141,8
@@
function supplier_settings(&$supplier_id)
email_row(_("E-mail:"), 'email', null, 35, 55);
languages_list_row(_("Document Language:"), 'rep_lang', null, _('System default'));
}
email_row(_("E-mail:"), 'email', null, 35, 55);
languages_list_row(_("Document Language:"), 'rep_lang', null, _('System default'));
}
+ else
+ table_section(2);
$dim = get_company_pref('use_dimension');
if ($dim >= 1)
{
$dim = get_company_pref('use_dimension');
if ($dim >= 1)
{
@@
-153,8
+155,8
@@
function supplier_settings(&$supplier_id)
hidden('dimension_id', 0);
if ($dim < 2)
hidden('dimension2_id', 0);
hidden('dimension_id', 0);
if ($dim < 2)
hidden('dimension2_id', 0);
- table_section(2);
-
+ if (!$supplier_id)
+ table_section(2);
table_section_title(_("Addresses"));
textarea_row(_("Mailing Address:"), 'address', null, 35, 5);
table_section_title(_("Addresses"));
textarea_row(_("Mailing Address:"), 'address', null, 35, 5);