This commit is contained in:
Daniel Camargo 2014-12-14 23:32:56 -02:00
parent a9ac593338
commit a0c81c9e48

View File

@ -274,7 +274,6 @@ class Crunchbutton_Settlement extends Cana_Model {
( $pay[ $driver ][ 'using_pex' ] && $pay[ $driver ][ 'using_pex_date' ] && intval( $pay[ $driver ][ 'using_pex_date' ] ) <= intval( $order[ 'formatted_date' ] ) ) ( $pay[ $driver ][ 'using_pex' ] && $pay[ $driver ][ 'using_pex_date' ] && intval( $pay[ $driver ][ 'using_pex_date' ] ) <= intval( $order[ 'formatted_date' ] ) )
){ ){
$order[ 'pay_info' ][ 'total_reimburse' ] = 0; $order[ 'pay_info' ][ 'total_reimburse' ] = 0;
$order[ 'pay_info' ][ 'standard_reimburse' ] = 0;
} }
if( $order[ 'driver_paid' ] && !$recalculatePaidOrders ){ if( $order[ 'driver_paid' ] && !$recalculatePaidOrders ){