Skip to content

Commit

Permalink
Fix refund amount with 3 decimals (Cocolabs-SAS#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
afedak authored and cocolabssas committed Jan 9, 2019
1 parent 307f491 commit c6a3d87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function getFeeAndAmountToRefundToAsker(Booking $booking)
}

return array(
"refund_amount" => $amountToRefund,
"refund_amount" => round($amountToRefund),//We are in cents: Remove decimal if any
"refund_percent" => $refundPercentage,
"fee_to_collect_while_refund" => $feeToCollectWhileRefund
);
Expand Down

0 comments on commit c6a3d87

Please sign in to comment.