Change background color typo to be able to sent it from module views

This commit is contained in:
Burak Çakırel
2021-02-01 17:44:05 +03:00
parent 01996c94a2
commit ecdc442fd9
7 changed files with 21 additions and 22 deletions

View File

@ -7,9 +7,8 @@ use App\Models\Common\Media;
use App\Traits\DateTime;
use File;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Str;
use Intervention\Image\Exception\NotReadableException;
use Image;
use Intervention\Image\Exception\NotReadableException;
use Storage;
abstract class DocumentTemplate extends Base
@ -29,7 +28,7 @@ abstract class DocumentTemplate extends Base
public $logo;
public $backGroundColor;
public $backgroundColor;
public $hideFooter;
@ -129,7 +128,7 @@ abstract class DocumentTemplate extends Base
$this->document = $document;
$this->documentTemplate = $this->getDocumentTemplate($type, $documentTemplate);
$this->logo = $this->getLogo($logo);
$this->backGroundColor = $this->getBackgroundColor($type, $backgroundColor);
$this->backgroundColor = $this->getBackgroundColor($type, $backgroundColor);
$this->hideFooter = $hideFooter;
$this->hideCompanyLogo = $hideCompanyLogo;