On master: Tower Auto-Stash: 2018-09-25 12:58:21 +0200

This commit is contained in:
Kevin Adametz 2018-09-25 12:58:21 +02:00
commit 69345860b4

View file

@ -716,6 +716,7 @@ class BookingController extends Controller
if($depositPercent === null) { if($depositPercent === null) {
$depositPercent = 20; $depositPercent = 20;
} }
//Aeqypten (20% from price) //Aeqypten (20% from price)
if($categoryId == 1){ if($categoryId == 1){
$deposit = ($outPriceInfo['total'] / 100 * $depositPercent); $deposit = ($outPriceInfo['total'] / 100 * $depositPercent);
@ -727,6 +728,8 @@ class BookingController extends Controller
$outPriceInfo['deposit_total'] = ($deposit + $outPriceInfo['flight_price']); $outPriceInfo['deposit_total'] = ($deposit + $outPriceInfo['flight_price']);
$outPriceInfo['final_payment'] = ($outPriceInfo['total'] - $outPriceInfo['deposit_total']); $outPriceInfo['final_payment'] = ($outPriceInfo['total'] - $outPriceInfo['deposit_total']);
} }
} }
return $ret; return $ret;