mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-20 23:37:58 -05:00
Update register.php
This commit is contained in:
@@ -473,25 +473,25 @@ if(isset($success))
|
||||
</tr>
|
||||
</table>
|
||||
<?php echo form_close(); ?>
|
||||
<?php
|
||||
$payment_type = $this->input->post('payment_type');
|
||||
// Only show this part if the payment cover the total and in sale or return mode
|
||||
|
||||
if($pos_mode == '1' && $payment_type != $this->lang->line('sales_due') && !isset($customer))
|
||||
<?php
|
||||
$payment_type = $this->input->post('payment_type');
|
||||
// Only show this part if the payment cover the total and in sale or return mode
|
||||
|
||||
if($pos_mode == '1' && $payment_type != $this->lang->line('sales_due') && !isset($customer))
|
||||
{
|
||||
?>
|
||||
<div class='btn btn-sm btn-success pull-right' id='finish_sale_button' tabindex="<?php echo ++$tabindex; ?>"><span class="glyphicon glyphicon-ok"> </span><?php echo $this->lang->line('sales_complete_sale'); ?></div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if($pos_mode == '1' && $payment_type = $this->lang->line('sales_due') && isset($customer))
|
||||
{
|
||||
?>
|
||||
<div class='btn btn-sm btn-success pull-right' id='finish_sale_button' tabindex="<?php echo ++$tabindex; ?>"><span class="glyphicon glyphicon-ok"> </span><?php echo $this->lang->line('sales_complete_sale'); ?></div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if($pos_mode == '1' && $payment_type = $this->lang->line('sales_due') && isset($customer))
|
||||
{
|
||||
?>
|
||||
<div class='btn btn-sm btn-success pull-right' id='finish_sale_button' tabindex="<?php echo ++$tabindex; ?>"><span class="glyphicon glyphicon-ok"> </span><?php echo $this->lang->line('sales_complete_sale'); ?></div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
?>
|
||||
<div class='btn btn-sm btn-success pull-right' id='finish_sale_button' tabindex="<?php echo ++$tabindex; ?>"><span class="glyphicon glyphicon-ok"> </span><?php echo $this->lang->line('sales_complete_sale'); ?></div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user