finish order date
This commit is contained in:
parent
51823815f0
commit
4b42e918c9
@ -148,10 +148,12 @@ class OrderPdfHandler extends FPDF {
|
|||||||
$totalTtc+=$valueTtc;
|
$totalTtc+=$valueTtc;
|
||||||
$productDescription = $product["produit_reference"];
|
$productDescription = $product["produit_reference"];
|
||||||
$dateValue = "";
|
$dateValue = "";
|
||||||
if($product === end($products) && $this->orderData["fk_order_type_key"] == OrderTypeConstant::ORDER_TYPE_DEVIS){
|
if($product === end($products) ){
|
||||||
$dateValue = $this->orderData["order_date"];
|
$dateValue = $this->orderData["devis_date"];
|
||||||
|
if($$this->orderData["fk_order_type_key"] == OrderTypeConstant::ORDER_TYPE_DEVIS){
|
||||||
$productDescription .= " de " . $this->orderData["defunt_name_with_sexe"];
|
$productDescription .= " de " . $this->orderData["defunt_name_with_sexe"];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
$tvaAmount = $valueTtc - $valueHt;
|
$tvaAmount = $valueTtc - $valueHt;
|
||||||
$this->SetXY( 10,$yValue );
|
$this->SetXY( 10,$yValue );
|
||||||
$this->Cell(20, 6, $dateValue, 0,0);
|
$this->Cell(20, 6, $dateValue, 0,0);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user