New customer/supplier currency can be changed as long as no transaction is entered.
[fa-stable.git] / purchasing / manage / suppliers.php
index b2ad33c7f47d370fbef07571f553fe9a32f3bf0b..a7336240a737247b4236a63790d67638ebb75e8e 100644 (file)
@@ -85,7 +85,7 @@ function supplier_settings(&$supplier_id)
 
        text_row(_("GSTNo:"), 'gst_no', null, 42, 40);
        link_row(_("Website:"), 'website', null, 35, 55);
-       if ($supplier_id) 
+       if ($supplier_id && !is_new_supplier($supplier_id)
        {
                label_row(_("Supplier's Currency:"), $_POST['curr_code']);
                hidden('curr_code', $_POST['curr_code']);