Predefined variable of rest to pay?
$rate_tot_p - $pay = rest to pay variable ($??????)
variable
Moderator: 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
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
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
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