[Vtigercrm-commits] [Vtiger development] #8027: can't change discount from percent back to zero
Vtiger development
vtiger-tickets at trac.vtiger.com
Wed Aug 6 13:09:09 GMT 2014
#8027: can't change discount from percent back to zero
------------------------------+--------------------------
Reporter: scharf | Owner: developer
Type: defect | Status: closed
Priority: unassigned | Milestone: 6.1.0
Component: vtigercrm | Version: 6.1.0 - wip
Severity: High | Resolution: fixed
Keywords: invoice discount |
------------------------------+--------------------------
Comment (by sardoj):
You must also modify /include/utils/EditViewUtils.php :
Replace
if($focus->column_fields['hdnDiscountPercent'] != '0') [line 367]
By
if(!empty($focus->column_fields['hdnDiscountPercent']))
And replace
elseif($focus->column_fields['hdnDiscountAmount'] != '0') [line 376]
By
elseif(!empty($focus->column_fields['hdnDiscountAmount']))
else you can't see discount amount value on Inventory DetailView and
EditView
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8027#comment:3>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list