mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-11-24 20:05:31 -05:00
* remove jobs table * Working on notifications * Working on notifications * Fixes for setting group level currency id on new client * Working on repeating headers * Use CSS to force headers and footers * recurring headers and footers * Preview PDF * Working on PDF Preview
93 lines
1.2 KiB
PHP
93 lines
1.2 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
|
|
{
|
|
private $include;
|
|
|
|
private $header;
|
|
|
|
private $body;
|
|
|
|
private $product_table;
|
|
|
|
private $task_table;
|
|
|
|
private $footer;
|
|
|
|
private $table_styles;
|
|
|
|
public function __construct($design)
|
|
{
|
|
$this->include = $design->include;
|
|
|
|
$this->header = $design->header;
|
|
|
|
$this->body = $design->body;
|
|
|
|
$this->product_table = $design->product_table;
|
|
|
|
$this->task_table = $design->task_table;
|
|
|
|
$this->footer = $design->footer;
|
|
|
|
$this->table_styles = $design->table_styles;
|
|
|
|
}
|
|
|
|
public function include()
|
|
{
|
|
return $this->include;
|
|
}
|
|
|
|
public function header()
|
|
{
|
|
|
|
return $this->header;
|
|
|
|
}
|
|
|
|
public function body()
|
|
{
|
|
|
|
return $this->body;
|
|
|
|
}
|
|
|
|
public function table_styles()
|
|
{
|
|
|
|
return $this->table_styles;
|
|
|
|
}
|
|
|
|
public function product_table()
|
|
{
|
|
|
|
return $this->product_table;
|
|
|
|
}
|
|
|
|
public function task_table()
|
|
{
|
|
return $this->task_table;
|
|
}
|
|
|
|
public function footer()
|
|
{
|
|
|
|
return $this->footer;
|
|
|
|
}
|
|
|
|
} |