mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-31 21:32:03 -04:00
Fix delete payment (#3983)
This commit is contained in:
@@ -483,7 +483,7 @@ class Sales extends Secure_Controller
|
||||
* @param string $payment_id
|
||||
* @return void
|
||||
*/
|
||||
public function postDelete_payment(string $payment_id): void
|
||||
public function getDeletePayment(string $payment_id): void
|
||||
{
|
||||
$this->sale_lib->delete_payment($payment_id);
|
||||
|
||||
|
||||
@@ -595,7 +595,7 @@ if(isset($success))
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
<td><?= anchor("$controller_name/delete_payment/$payment_id", '<span class="glyphicon glyphicon-trash"></span>') ?></td>
|
||||
<td><?= anchor("$controller_name/deletePayment/$payment_id", '<span class="glyphicon glyphicon-trash"></span>') ?></td>
|
||||
<td><?= esc($payment['payment_type']) ?></td>
|
||||
<td style="text-align: right;"><?= to_currency($payment['payment_amount']) ?></td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user