mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-21 17:01:33 +02:00
7d39969a3b
* Remove backup column from schema * Add slack webhooks to company user table * Preview route * remove json column from company gateway * fixes for testS * Fixes for typos
82 lines
1.0 KiB
PHP
82 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* Invoice Ninja (https://invoiceninja.com)
|
|
*
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
*
|
|
* @copyright Copyright (c) 2020. Invoice Ninja LLC (https://invoiceninja.com)
|
|
*
|
|
* @license https://opensource.org/licenses/AAL
|
|
*/
|
|
|
|
namespace App\Designs;
|
|
|
|
class Custom extends AbstractDesign
|
|
{
|
|
public $includes;
|
|
|
|
public $header;
|
|
|
|
public $body;
|
|
|
|
public $product;
|
|
|
|
public $task;
|
|
|
|
public $footer;
|
|
|
|
public function __construct($design)
|
|
{
|
|
$this->includes = $design->includes;
|
|
|
|
$this->header = $design->header;
|
|
|
|
$this->body = $design->body;
|
|
|
|
$this->product = $design->product;
|
|
|
|
$this->task = $design->task;
|
|
|
|
$this->footer = $design->footer;
|
|
|
|
}
|
|
|
|
public function includes()
|
|
{
|
|
return $this->includes;
|
|
}
|
|
|
|
public function header()
|
|
{
|
|
|
|
return $this->header;
|
|
|
|
}
|
|
|
|
public function body()
|
|
{
|
|
|
|
return $this->body;
|
|
|
|
}
|
|
|
|
public function product()
|
|
{
|
|
|
|
return $this->product;
|
|
|
|
}
|
|
|
|
public function task()
|
|
{
|
|
return $this->task;
|
|
}
|
|
|
|
public function footer()
|
|
{
|
|
|
|
return $this->footer;
|
|
|
|
}
|
|
|
|
} |