1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/app/Designs/Custom.php

82 lines
1.0 KiB
PHP
Raw Normal View History

<?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;
2020-02-17 21:07:32 +01:00
public function __construct($design)
{
$this->includes = $design->includes;
2020-02-17 21:07:32 +01:00
$this->header = $design->header;
2020-02-17 21:07:32 +01:00
$this->body = $design->body;
$this->product = $design->product;
$this->task = $design->task;
2020-02-17 21:07:32 +01:00
$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;
}
}