remove debug
This commit is contained in:
parent
67fe91f6aa
commit
8d13e9231f
@ -48,7 +48,9 @@ $object->fetch($loanid);
|
|||||||
$echeances = new LoanSchedule($db);
|
$echeances = new LoanSchedule($db);
|
||||||
$echeances->fetchAll($object->id);
|
$echeances->fetchAll($object->id);
|
||||||
|
|
||||||
if ($object->paid > 0 && count($echeances->lines) == 0) $pay_without_schedule = 1;
|
if ($object->paid > 0 && count($echeances->lines) == 0) {
|
||||||
|
$pay_without_schedule = 1;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
@ -86,8 +88,9 @@ if ($action == 'createecheancier' && empty($pay_without_schedule)) {
|
|||||||
$echeances->lines[] = $new_echeance;
|
$echeances->lines[] = $new_echeance;
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
var_dump($result);
|
if ($result > 0) {
|
||||||
if ($result > 0) $db->commit();
|
$db->commit();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($action == 'updateecheancier' && empty($pay_without_schedule)) {
|
if ($action == 'updateecheancier' && empty($pay_without_schedule)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user