Update register.php

This commit is contained in:
WShells
2019-03-14 22:22:22 +02:00
committed by GitHub
parent ce6aed67d6
commit d419ffbdab

View File

@@ -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">&nbsp</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">&nbsp</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">&nbsp</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">&nbsp</span><?php echo $this->lang->line('sales_complete_sale'); ?></div>
<?php
}
?>
<?php
}
else