2020-02-12 01:41:17 +01:00
|
|
|
<?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;
|
|
|
|
|
2020-03-26 04:23:57 +01:00
|
|
|
class Custom
|
2020-02-12 01:41:17 +01:00
|
|
|
{
|
2020-03-21 06:37:30 +01:00
|
|
|
public $includes;
|
2020-03-04 12:09:43 +01:00
|
|
|
|
2020-03-21 06:37:30 +01:00
|
|
|
public $header;
|
2020-02-12 01:41:17 +01:00
|
|
|
|
2020-03-21 06:37:30 +01:00
|
|
|
public $body;
|
|
|
|
|
|
|
|
public $product;
|
|
|
|
|
|
|
|
public $task;
|
2020-03-05 08:14:57 +01:00
|
|
|
|
2020-03-21 06:37:30 +01:00
|
|
|
public $footer;
|
|
|
|
|
|
|
|
public $name;
|
2020-03-09 21:07:46 +01:00
|
|
|
|
2020-03-21 06:37:30 +01:00
|
|
|
public function __construct($design)
|
|
|
|
{
|
|
|
|
$this->name = $design->name;
|
2020-03-09 21:07:46 +01:00
|
|
|
|
2020-03-21 06:37:30 +01:00
|
|
|
$this->includes = $design->design->includes;
|
2020-02-12 01:41:17 +01:00
|
|
|
|
2020-03-21 06:37:30 +01:00
|
|
|
$this->header = $design->design->header;
|
|
|
|
|
|
|
|
$this->body = $design->design->body;
|
|
|
|
|
|
|
|
$this->product = $design->design->product;
|
|
|
|
|
|
|
|
$this->task = $design->design->task;
|
2020-03-05 08:14:57 +01:00
|
|
|
|
2020-03-21 06:37:30 +01:00
|
|
|
$this->footer = $design->design->footer;
|
|
|
|
}
|
|
|
|
}
|