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 21c3e14 commit 6604d59
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 @@ -268,7 +268,7 @@ public function get_earning_by_order( $order, $context = 'seller' ) {
}

if ( $context === dokan()->fees->get_shipping_tax_fee_recipient( $order ) ) {
$earning_or_commission += ( floatval( $order->get_shipping_tax() ) - dokan()->fees->get_total_shipping_tax_refunded( $order ) );
$earning_or_commission += ( floatval( $order->get_shipping_tax() ) - floatval( dokan()->fees->get_total_shipping_tax_refunded( $order ) ) );
}

$earning_or_commission = apply_filters_deprecated( 'dokan_order_admin_commission', [ $earning_or_commission, $order, $context ], '2.9.21', 'dokan_get_earning_by_order' );
Expand Down

0 comments on commit 6604d59

Please sign in to comment.