feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
145 changed files with 539 additions and 5104 deletions
Showing only changes of commit 7d589e0e87 - Show all commits

View File

@ -164,15 +164,14 @@ class Invoice extends AbstractEndPoint
continue;
}
if ($ref === 'valor') {
/*$valor = 0;
$valor = 0;
if ($data['cuota']->pago->fecha <= $today) {
$valor = $data['cuota']->pago->valor();
}
if ($valor === 0) {
$valor = $data['cuota']->pago->valor / $data['venta']->uf;
}
$params[$key] = $valor;*/
$params[$key] = $data['cuota']->pago->valor;
$params[$key] = $valor;
continue;
}
if ($ref === 'datosCuota') {