mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-11 08:04:35 -04:00
remove redundant method
This commit is contained in:
parent
0f3f4a59a7
commit
c20d2eedbc
@ -223,16 +223,6 @@ class Client extends BaseModel implements HasLocalePreference
|
|||||||
})->first()->format;
|
})->first()->format;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function translated_date_format()
|
|
||||||
{
|
|
||||||
$date_formats = Cache::get('date_formats');
|
|
||||||
|
|
||||||
return $date_formats->filter(function ($item) {
|
|
||||||
return $item->id == $this->getSetting('date_format_id');
|
|
||||||
})->first()->translated_format;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public function currency()
|
public function currency()
|
||||||
{
|
{
|
||||||
$currencies = Cache::get('currencies');
|
$currencies = Cache::get('currencies');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user