fix company logo issue

This commit is contained in:
Mohit Panjwani
2021-01-22 19:00:37 +05:30
parent b7370ed85c
commit 7b95ccb5fc
4 changed files with 23 additions and 10 deletions

View File

@ -216,10 +216,10 @@ class Payment extends Model implements HasMedia
}
$payment = Payment::with([
'user',
'invoice',
'paymentMethod',
])
'user',
'invoice',
'paymentMethod',
])
->find($this->id);
return $payment;
@ -373,7 +373,7 @@ class Payment extends Model implements HasMedia
{
$company = Company::find($this->company_id);
$logo = $company->logo;
$logo = $company->logo_path;
view()->share([
'payment' => $this,