Skip to content

Commit

Permalink
FIX: Update loan.class.php
Browse files Browse the repository at this point in the history
Right stauts paid.
  • Loading branch information
prietojc authored Feb 2, 2024
1 parent 1e412c7 commit 67e9907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/loan/class/loan.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ public function LibStatut($status, $mode = 0, $alreadypaid = -1)
$this->labelStatus[self::STATUS_UNPAID] = $langs->transnoentitiesnoconv("BillStatusStarted");
}
$this->labelStatusShort[self::STATUS_UNPAID] = $langs->transnoentitiesnoconv('Unpaid');
$this->labelStatusShort[self::STATUS_PAID] = $langs->transnoentitiesnoconv('Enabled');
$this->labelStatusShort[self::STATUS_PAID] = $langs->transnoentitiesnoconv('Paid');
$this->labelStatusShort[self::STATUS_STARTED] = $langs->transnoentitiesnoconv("BillStatusStarted");
if ($status == 0 && $alreadypaid > 0) {
$this->labelStatusShort[self::STATUS_UNPAID] = $langs->transnoentitiesnoconv("BillStatusStarted");
Expand Down

0 comments on commit 67e9907

Please sign in to comment.