mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 05:32:39 +01:00
0e12b63c95
* Fixes for tests * Working on PDF tables * Fixes for null values in designs * Refactoring entity variables for PDF * Fixes for pdf variables * Minor fixes for designs * Working on variable replacement for tables * Refactoring designs * Refactoring designs * Refactoring design implementation * Working on refactoring designs * Serve tailwind locally * Design changes
47 lines
801 B
PHP
47 lines
801 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 extends AbstractDesign
|
|
{
|
|
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;
|
|
}
|
|
|
|
} |