mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-06 03:02:34 +01:00
6a7079b0be
* Update phpunit.yml * Update phpunit.yml * Update .env.ci * Update phpunit.yml * Update .env.ci * Update phpunit.yml * Update phpunit.yml * Update phpunit.yml * Update phpunit.yml * Update .env.ci * Update phpunit.yml * Update phpunit.yml * Update phpunit.yml * Update phpunit.yml * Force /setup if system requirements are not met * Update .env.ci * Update phpunit.yml * Minor changes for github actions" * Fixes for github actions * Fixes for github actions * Fixes for github actions * Fixes for github actions * Fixes for github actions * Fixes for github actions * Fixes for github actions * Fixes for github actions * cs-fixer * cs-fixer * Fixes for github actions * db ports github actions * Refactor the template engine
47 lines
876 B
PHP
47 lines
876 B
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
|
|
{
|
|
public $includes;
|
|
|
|
public $header;
|
|
|
|
public $body;
|
|
|
|
public $product;
|
|
|
|
public $task;
|
|
|
|
public $footer;
|
|
|
|
public $name;
|
|
|
|
public function __construct($design)
|
|
{
|
|
$this->name = $design->name;
|
|
|
|
$this->includes = $design->design->includes;
|
|
|
|
$this->header = $design->design->header;
|
|
|
|
$this->body = $design->design->body;
|
|
|
|
$this->product = $design->design->product;
|
|
|
|
$this->task = $design->design->task;
|
|
|
|
$this->footer = $design->design->footer;
|
|
}
|
|
}
|