variable

Discuss here how to configure hoteldruid and better use its features.

Moderator: marco

Post Reply
zis

variable

Post by zis »

Predefined variable of rest to pay?

$rate_tot_p - $pay = rest to pay variable ($??????)
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post by marco »

Hello,
there is not such variable, I will add it in the next version. For now you can add this lines:

$rest_to_pay = $rate_tot - $paid;
$rest_to_pay_p = punti_in_num($rest_to_pay,$stile_soldi);

in visualizza_contratto.php before the line:

if ($tipo_contratto == 1) include("./contr/contr01.php");

Marco
zis

variable

Post by zis »

Hello, thank you marco
I added it in the visualizza_contratto.php

$da_pagare = $costo_tot - $pagato;
$da_pagare_p = punti_in_num($da_pagare,$stile_soldi);

in visualizza_contratto.php before the line:

if ($tipo_contratto == 1) include("./contr/contr01.php");

in the contr01.php i inputed $da_pagare
Post Reply