Hey Is it possible to remove Tax amount in store earnings calculation means we calculate from subtotal and package charges so tax amount will come to admin so I need to remove tax calculation from store earnings
Yes, it is possible
search the code app/Http/Controllers/RestaurantOwnerController.php: $balanceAfterCommission = ($balance->amount - ($restaurant->commission_rate / 100) * $balance->amount);
modify: $balanceAfterCommission = ($balance->amount);
DevWms it won't work brother I need store before commission I don't want to show store earnings with tax amount brother so I need to remove tax amount from store before commission
Thanks, brother and one more help is it possible to set a coupon amount that will not affect the in-store commission rate like while user applying coupon code it will not reduce in store subtotal amount
$balanceAfterCommission = ($balance->amount-tax%);