mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
fix translation issues & formatting
This commit is contained in:
@ -375,7 +375,7 @@ class Payment extends Model implements HasMedia
|
||||
|
||||
$logo = $company->getMedia('logo')->first();
|
||||
|
||||
$isSystem = FileDisk::whereSetAsDefault(true)->first()->isSystem() ;
|
||||
$isSystem = FileDisk::whereSetAsDefault(true)->first()->isSystem();
|
||||
$isLocalhost = config('session.domain') === 'localhost';
|
||||
|
||||
if ($logo && $isLocalhost && $isSystem) {
|
||||
@ -384,7 +384,6 @@ class Payment extends Model implements HasMedia
|
||||
$logo = $logo->getFullUrl();
|
||||
}
|
||||
|
||||
|
||||
view()->share([
|
||||
'payment' => $this,
|
||||
'company_address' => $this->getCompanyAddress(),
|
||||
|
||||
Reference in New Issue
Block a user