Page 1 of 1

variable

Posted: Fri Jan 06, 2006 2:39 am
by zis
Predefined variable of rest to pay?

$rate_tot_p - $pay = rest to pay variable ($??????)

Posted: Mon Jan 09, 2006 12:48 am
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

variable

Posted: Wed Jan 11, 2006 2:29 pm
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