- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
$sub_total = $cost + $vvcost;
if($pickup_date[1] == 01) {
$pcentage = -15/100;
$sub_total2 = $sub_total * $pcentage;
$total = $sub_total + $sub_total2;
}
if($pickup_date[1] == 02) {
$pcentage = -110/100;
$sub_total2 = $sub_total * $pcentage;
$total = $sub_total + $sub_total2;
}
if($pickup_date[1] == 03) {
$pcentage = -5/100;
$sub_total2 = $sub_total * $pcentage;
$total = $sub_total + $sub_total2;}
if($$pickup_date[1] == 04) {
$pcentage = 5/100;
$sub_total2 = $sub_total * $pcentage;
$total = $sub_total + $sub_total2;}
if($pickup_date[1] == 05) {
$pcentage = 10/100;
$sub_total2 = $sub_total * $pcentage;
$total = $sub_total + $sub_total2;}
if($pickup_date[1] ==06) {
$pcentage = 12.5/100;
$sub_total2 = $sub_total * $pcentage;
$total = $sub_total + $sub_total2;}
if($pickup_date[1] ==07) {
$pcentage = 12.5/100;
$sub_total2 = $sub_total * $pcentage;
$total = $sub_total + $sub_total2;}
if($pickup_date[1] == 08) {
$total = $sub_total;}
if($pickup_date[1] ==09) {
$total = $sub_total;}
if($pickup_date[1] ==10) {
$pcentage = -5/100;
$sub_total2 = $sub_total * $pcentage;
$total = $sub_total + $sub_total2;}
if($pickup_date[1] ==11) {
$pcentage = -5/100;
$sub_total2 = $sub_total * $pcentage;
$total = $sub_total + $sub_total2;}
if($pickup_date[1] ==12) {
$total = $sub_total2 ;}
Комментарии (0) RSS
Добавить комментарий