updated subtotal when orders have voucher

This commit is contained in:
Frank John Begornia
2024-11-27 17:13:00 +08:00
parent 54278c568d
commit f26c9c274b
2 changed files with 11 additions and 1 deletions

View File

@@ -399,7 +399,7 @@ class PaypalController extends Controller
public function getTax($cartKey)
{
$m = new TeamStoreModel;
$updated_getSubtotal = $m->getSubtotal($cartKey);
$updated_getSubtotal = $m->getSubtotalNew($cartKey);
$grouped_item = $m->selectTeamStoreGroupByCartKey($cartKey);
if (count($grouped_item) <= 0) {