='$fechaAlquiler' OR AR9Fecha2= '')","","","",""); $rowTAR = mysql_fetch_array($tar); } else{ $cantPRY=LeerStd($pry,"410PYT","*","PYTCodigo = '$proyecto' ","","","",""); $rowPry=mysql_fetch_array($pry); $cantTAR=LeerStd($tar,"410AR9","*","AR9Link1_SUB = '$subgrupo' AND AR9Linea1 ='$rowPry[PYTLinea2]' AND AR9Fecha1<= '$fechaAlquiler' AND (AR9Fecha2 = '0000-00-00' OR AR9Fecha2>='$fechaAlquiler' OR AR9Fecha2= '')","","","",""); $rowTAR = mysql_fetch_array($tar); } $alquiler = $row[AR7Monto4]; $subtotal = $row[AR7Monto5]; $descuento = $row[AR7Cant2]; $fechaReserva = $row[AR7Fecha4]; $horaReserva = $row[AR7Hora4]; $localizador = $row[AR7Linea13]; $fechaauxiliar=explode("-", $fechaAlquiler); $fechaauxiliar2=explode("-", $fechaDevolucion); $fechaauxiliar3=explode("-", $fechaReserva); $fechaAlquiler =$fechaauxiliar[2]."/".$fechaauxiliar[1]."/".$fechaauxiliar[0]; $fechaDevolucion =$fechaauxiliar2[2]."/".$fechaauxiliar2[1]."/".$fechaauxiliar2[0]; $fechaReserva =$fechaauxiliar3[2]."/".$fechaauxiliar3[1]."/".$fechaauxiliar3[0]; $ParamLoc = LeerStd($buscarParam, '410PRM', "*", "PRMNombre='DIA'", "", "", "", ""); $rowParam = mysql_fetch_array($buscarParam); $horaParaDiaAdicional =$rowParam[PRMLinea2]; if (strtotime($fechaAlquiler) == strtotime($fechaDevolucion)){ $diasAlquiler=1; $horaAdic=0; } else { if (strtotime($horaDevolucion)> strtotime($horaAlquiler)){ $horaiHoy=substr($horaDevolucion,0,2); $miniHoy=substr($horaDevolucion,3,2); $ini=((($horaiHoy*60)*60)+($miniHoy*60)); $horafAlquiler=substr($horaAlquiler,0,2); $minfAlquiler=substr($horaAlquiler,3,2); $fin=((($horafAlquiler*60)*60)+($minfAlquiler*60)); $dif=$ini-$fin; $cantHoras=floor($dif/3600); //$cantHoras =$horaDevolucion-$horaAlquiler; if($cantHoras>=$horaParaDiaAdicional){ $horaAdic=0; } else{ $horaAdic=$cantHoras; } } else { $horaAdic=0; } } $alquilerSubTotal = $alquiler + ($horaAdic*$row[AR7Monto10]); $alquilerDcto=($alquiler+($horaAdic*$row[AR7Monto10]))-((($alquiler+($horaAdic*$row[AR7Monto10]))*$descuento)/100); ?>
IATA: | |
VT: | |
Client: | |
Gold/Platinum: | |
Inverunion: | |
Viajero Frecuente: | |
CDP: | |
Driver: | |
Confirmation Number: | |
Rental Location: | |
Rental Location: | |
City: | |
Date: | |
Hour: | |
Return Location: | |
Return Location: | |
City: | |
Date: | |
Hour: | |
Type Vehicle: | o similar grupo "" |
Rental Days: | |
Type Vehicle: | o similar grupo "" |
Rental Time: | |
Rate: | |
Rate: | |
Rate Includes: | |
Rental: | |
Additional hours: | |
Rental without Discount: | |
% Discount: | |
Rental with Discount: | |
Sub-Total Rental: | |
$row4[AR4Linea1]: | ".number_format($rowRDT[RDTMonto1], 2, ',','.')." |
$row4[AR4Linea1]: | ".number_format($montoConductor, 2, ',','.')." |
Conductor Principal Menor: | ".number_format($monto2, 2, ',','.')." |
$contAdic Additional Conductor: | ".number_format($total, 2, ',','.')." |
Drop off (".$cantidadKMS." kms) | ".number_format($dropoff, 2, ',','.')." |
Subtotal without Tax VEB: | |
Subtotal without Tax VEB: | |
PREPAID | |
Number of Prepaid: | |
Prepaid Amount VEB: | |
Date Prepaid Emission: | |
CONDITIONS | |
- Remember show all the valid documents : Internacional driver licence, passport, credit card. | |
THANKS TO PREFER OUR SERVICES | |