1 (edited by notrinos 10/31/2017 08:14:10 am)

Topic: Default Credit Limit should be changed to price format.

At the moment the Default Credit Limit input box in System and General GL Setup is text format, should it be changed to price format ?

admin/gl_setup.php

line 132: $_POST['default_credit_limit'] = $myrow['default_credit_limit'];
              $_POST['default_credit_limit'] = price_format($myrow['default_credit_limit']);

line 180: text_row(_("Default Credit Limit:"), 'default_credit_limit', $_POST['default_credit_limit'], 12, 12);
              amount_row(_("Default Credit Limit:"), 'default_credit_limit', $_POST['default_credit_limit']);

Phuong

Re: Default Credit Limit should be changed to price format.

All numbers/prices/amounts are entered as is and then the system formats it as needed.
The home currency is assumed.
input_num may be needed.

@joe: does it need to change?

Re: Default Credit Limit should be changed to price format.

does it need to change?

Phuong

Re: Default Credit Limit should be changed to price format.

Yes, that looks much prettier. Committed to Stable Repo.

/Joe