mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-20 07:14:33 -04:00
Use define instead of hard number (#1647)
This commit is contained in:
1 parent
447571090f
commit
8b96af3d19
1 file changed
+1
-1
@@ -177,7 +177,7 @@ if(isset($success))
|
||||
<td><?php echo form_input(array('name'=>'discount', 'class'=>'form-control input-sm', 'value'=>to_decimals($item['discount'], 0), 'tabindex'=>++$tabindex));?></td>
|
||||
<td>
|
||||
<?php
|
||||
if($item['item_type'] == 2)
|
||||
if($item['item_type'] == ITEM_AMOUNT_ENTRY)
|
||||
{
|
||||
echo form_input(array('name'=>'discounted_total', 'class'=>'form-control input-sm', 'value'=>to_currency_no_money($item['discounted_total']), 'tabindex'=>++$tabindex));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user