mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-02-17 16:58:41 +00:00
Automated formatting changes
This commit is contained in:
parent
1dfa2f81f1
commit
645582aaa6
|
|
@ -9,10 +9,10 @@ $bill = $this->getData('bill');
|
||||||
$elements = $bill->getElements();
|
$elements = $bill->getElements();
|
||||||
|
|
||||||
$mpdf = new Mpdf([
|
$mpdf = new Mpdf([
|
||||||
'mode' => 'utf-8',
|
'mode' => 'utf-8',
|
||||||
'format' => 'A4-L',
|
'format' => 'A4-L',
|
||||||
'orientation' => 'L',
|
'orientation' => 'L',
|
||||||
'margin_left' => 20,
|
'margin_left' => 20,
|
||||||
'margin_right' => 15,
|
'margin_right' => 15,
|
||||||
'margin_top' => 48,
|
'margin_top' => 48,
|
||||||
'margin_bottom' => 25,
|
'margin_bottom' => 25,
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,9 @@ class Bill implements \JsonSerializable
|
||||||
* @var int|BillType
|
* @var int|BillType
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public int|BillType $type = 0;
|
public int |
|
||||||
|
|
||||||
|
BillType $type = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bill status.
|
* Bill status.
|
||||||
|
|
@ -823,7 +825,6 @@ class Bill implements \JsonSerializable
|
||||||
return $this->info;
|
return $this->info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set payment text.
|
* Set payment text.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,9 @@ class BillElement implements \JsonSerializable
|
||||||
*/
|
*/
|
||||||
public int $promotion = 0;
|
public int $promotion = 0;
|
||||||
|
|
||||||
public int|Bill $bill = 0;
|
public int |
|
||||||
|
|
||||||
|
Bill $bill = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,9 @@ class BillType
|
||||||
*
|
*
|
||||||
* @var string|BillTypeL11n
|
* @var string|BillTypeL11n
|
||||||
*/
|
*/
|
||||||
protected string|BillTypeL11n $l11n;
|
protected string |
|
||||||
|
|
||||||
|
BillTypeL11n $l11n;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,9 @@ class BillTypeL11n implements \JsonSerializable, ArrayableInterface
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected int|BillType $type = 0;
|
protected int |
|
||||||
|
|
||||||
|
BillType $type = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Language.
|
* Language.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user