mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Show client name next to invoice no. on dashboard
- Fix #949 and resolves #949 - Display client name next to invoice number on dashboard
This commit is contained in:
parent
fdb2aefc66
commit
f091cbd060
@ -140,7 +140,9 @@ class Invoice extends EntityModel implements BalanceAffecting
|
||||
*/
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->is_recurring ? trans('texts.recurring') : $this->invoice_number;
|
||||
return $this->is_recurring
|
||||
? trans('texts.recurring')
|
||||
: $this->invoice_number.' ('.$this->client->name.')';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user