Skip to content

Commit

Permalink
Update bulk edit ui
Browse files Browse the repository at this point in the history
Skip reverse withdrawal and advertisement product id
  • Loading branch information
Aunshon committed Dec 19, 2024
1 parent 9216762 commit 21c3e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Commission.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public function get_earning_by_order( $order, $context = 'seller' ) {
}

if ( $context === dokan()->fees->get_tax_fee_recipient( $order->get_id() ) ) {
$earning_or_commission += ( ( floatval( $order->get_total_tax() ) - floatval( $order->get_total_tax_refunded() ) ) - ( floatval( $order->get_shipping_tax() ) - floatval( $order->get_shipping_tax() ) ) );
$earning_or_commission += ( ( floatval( $order->get_total_tax() ) - floatval( $order->get_total_tax_refunded() ) ) - ( floatval( $order->get_shipping_tax() ) - floatval( dokan()->fees->get_total_shipping_tax_refunded( $order ) ) ) );
}

if ( $context === dokan()->fees->get_shipping_tax_fee_recipient( $order ) ) {
Expand Down

0 comments on commit 21c3e14

Please sign in to comment.