mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 19:51:09 -04:00
update implementation
This commit is contained in:
@ -515,7 +515,7 @@ class Invoice extends Model implements HasMedia
|
||||
$invoiceTemplate = InvoiceTemplate::find($this->invoice_template_id);
|
||||
|
||||
$company = Company::find($this->company_id);
|
||||
$locale = CompanySetting::getSetting('language', $company->id);
|
||||
$locale = CompanySetting::getSetting('language', $company->id);
|
||||
|
||||
App::setLocale($locale);
|
||||
|
||||
@ -591,9 +591,4 @@ class Invoice extends Model implements HasMedia
|
||||
'{INVOICE_LINK}' => url('/customer/invoices/pdf/'.$this->unique_hash),
|
||||
];
|
||||
}
|
||||
|
||||
public function getValues($slug)
|
||||
{
|
||||
return $this->getCustomFieldValues($slug);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user