mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01: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) {
|
||||
$label = 'converted';
|
||||
} elseif ($class == 'danger') {
|
||||
$label = $entityType == ENTITY_INVOICE ? 'overdue' : 'expired';
|
||||
$label = $entityType == ENTITY_INVOICE ? 'past_due' : 'expired';
|
||||
} else {
|
||||
$label = 'status_' . strtolower($status);
|
||||
}
|
||||
@ -1458,7 +1458,7 @@ class Invoice extends EntityModel implements BalanceAffecting
|
||||
|
||||
if ($entityType == ENTITY_INVOICE) {
|
||||
$statuses[INVOICE_STATUS_UNPAID] = trans('texts.unpaid');
|
||||
$statuses[INVOICE_STATUS_OVERDUE] = trans('texts.overdue');
|
||||
$statuses[INVOICE_STATUS_OVERDUE] = trans('texts.past_due');
|
||||
}
|
||||
|
||||
return $statuses;
|
||||
|
@ -338,7 +338,7 @@ class InvoiceRepository extends BaseRepository
|
||||
} elseif (Invoice::calcIsOverdue($model->balance, $model->due_date)) {
|
||||
$class = 'danger';
|
||||
if ($entityType == ENTITY_INVOICE) {
|
||||
$label = trans('texts.overdue');
|
||||
$label = trans('texts.past_due');
|
||||
} else {
|
||||
$label = trans('texts.expired');
|
||||
}
|
||||
|
@ -2485,6 +2485,7 @@ $LANG = array(
|
||||
'setup_desktop_app' => 'Setup the desktop app',
|
||||
'task_rate' => 'Task Rate',
|
||||
'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>List active and deleted tasks</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>Create payment for invoice <invoice number></li>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user