mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-18 13:18:43 +00:00
add type hinting
This commit is contained in:
parent
1ba4e26018
commit
6d1d4106c2
|
|
@ -50,8 +50,20 @@ class DefaultPdf extends TCPDF
|
||||||
*/
|
*/
|
||||||
public int $sideMargin = 15;
|
public int $sideMargin = 15;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Template language
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
public string $language = 'en';
|
public string $language = 'en';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Language components
|
||||||
|
*
|
||||||
|
* @var array<string, array<string, string>>
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
public array $lang = [
|
public array $lang = [
|
||||||
'en' => [
|
'en' => [
|
||||||
'Page' => 'Page',
|
'Page' => 'Page',
|
||||||
|
|
@ -71,6 +83,12 @@ class DefaultPdf extends TCPDF
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Bill attributes
|
||||||
|
*
|
||||||
|
* @var array<string, string>
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
public array $attributes = [
|
public array $attributes = [
|
||||||
'logo' => __DIR__ . '/../Web/Backend/img/logo.png',
|
'logo' => __DIR__ . '/../Web/Backend/img/logo.png',
|
||||||
'title_name' => 'Jingga',
|
'title_name' => 'Jingga',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user