Skip to content

Commit

Permalink
fix: count wc-refunded status while calculating vendor balance (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
saimonh3 authored and sabbir1991 committed Dec 6, 2018
1 parent 6e8503a commit af8b689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/withdraw-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ function dokan_get_withdraw_count( $user_id = '' ) {
*/
function dokan_withdraw_get_active_order_status() {
$order_status = dokan_get_option( 'withdraw_order_status', 'dokan_withdraw', array( 'wc-completed' ) );
$saving_status = array();
$saving_status = [ 'wc-refunded' ];

foreach ( $order_status as $key => $status ) {
if ( ! empty( $status ) ) {
Expand Down

0 comments on commit af8b689

Please sign in to comment.