mirror of
https://github.com/crater-invoice/crater.git
synced 2025-12-15 09:52:55 -05:00
update implementation
This commit is contained in:
@@ -380,7 +380,7 @@ class Payment extends Model implements HasMedia
|
||||
public function getPDFData()
|
||||
{
|
||||
$company = Company::find($this->company_id);
|
||||
$locale = CompanySetting::getSetting('language', $company->id);
|
||||
$locale = CompanySetting::getSetting('language', $company->id);
|
||||
|
||||
\App::setLocale($locale);
|
||||
|
||||
@@ -446,9 +446,4 @@ class Payment extends Model implements HasMedia
|
||||
'{PAYMENT_LINK}' => $this->paymentPdfUrl,
|
||||
];
|
||||
}
|
||||
|
||||
public function getValues($slug)
|
||||
{
|
||||
return $this->getCustomFieldValues($slug);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user