On master: Tower Auto-Stash: 2018-09-25 12:58:21 +0200
This commit is contained in:
commit
69345860b4
1 changed files with 873 additions and 870 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue