mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Change 'overdue' to 'past due'
This commit is contained in:
parent
01b4f62ac7
commit
81bdcd172a
@ -682,7 +682,7 @@ class Invoice extends EntityModel implements BalanceAffecting
|
|||||||
if ($quoteInvoiceId) {
|
if ($quoteInvoiceId) {
|
||||||
$label = 'converted';
|
$label = 'converted';
|
||||||
} elseif ($class == 'danger') {
|
} elseif ($class == 'danger') {
|
||||||
$label = $entityType == ENTITY_INVOICE ? 'overdue' : 'expired';
|
$label = $entityType == ENTITY_INVOICE ? 'past_due' : 'expired';
|
||||||
} else {
|
} else {
|
||||||
$label = 'status_' . strtolower($status);
|
$label = 'status_' . strtolower($status);
|
||||||
}
|
}
|
||||||
@ -1458,7 +1458,7 @@ class Invoice extends EntityModel implements BalanceAffecting
|
|||||||
|
|
||||||
if ($entityType == ENTITY_INVOICE) {
|
if ($entityType == ENTITY_INVOICE) {
|
||||||
$statuses[INVOICE_STATUS_UNPAID] = trans('texts.unpaid');
|
$statuses[INVOICE_STATUS_UNPAID] = trans('texts.unpaid');
|
||||||
$statuses[INVOICE_STATUS_OVERDUE] = trans('texts.overdue');
|
$statuses[INVOICE_STATUS_OVERDUE] = trans('texts.past_due');
|
||||||
}
|
}
|
||||||
|
|
||||||
return $statuses;
|
return $statuses;
|
||||||
|
@ -338,7 +338,7 @@ class InvoiceRepository extends BaseRepository
|
|||||||
} elseif (Invoice::calcIsOverdue($model->balance, $model->due_date)) {
|
} elseif (Invoice::calcIsOverdue($model->balance, $model->due_date)) {
|
||||||
$class = 'danger';
|
$class = 'danger';
|
||||||
if ($entityType == ENTITY_INVOICE) {
|
if ($entityType == ENTITY_INVOICE) {
|
||||||
$label = trans('texts.overdue');
|
$label = trans('texts.past_due');
|
||||||
} else {
|
} else {
|
||||||
$label = trans('texts.expired');
|
$label = trans('texts.expired');
|
||||||
}
|
}
|
||||||
|
@ -2485,6 +2485,7 @@ $LANG = array(
|
|||||||
'setup_desktop_app' => 'Setup the desktop app',
|
'setup_desktop_app' => 'Setup the desktop app',
|
||||||
'task_rate' => 'Task Rate',
|
'task_rate' => 'Task Rate',
|
||||||
'task_rate_help' => 'Set the default <b>rate for invoiced tasks</b>.',
|
'task_rate_help' => 'Set the default <b>rate for invoiced tasks</b>.',
|
||||||
|
'past_due' => 'Past Due',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@
|
|||||||
<li>Go to the dashboard</li>
|
<li>Go to the dashboard</li>
|
||||||
<li>List active and deleted tasks</li>
|
<li>List active and deleted tasks</li>
|
||||||
<li>Find <client name></li>
|
<li>Find <client name></li>
|
||||||
<li>Show me <client name>'s overdue invoices</li>
|
<li>Show me <client name>'s past due invoices</li>
|
||||||
<li>New invoice for <client name></li>
|
<li>New invoice for <client name></li>
|
||||||
<li>Create payment for invoice <invoice number></li>
|
<li>Create payment for invoice <invoice number></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user