Merge branch 'hotfixes/hotfix-chrono-facture-update-date-paiement' into staging
This commit is contained in:
commit
00a21e60b7
@ -4488,6 +4488,7 @@ class Bdd {
|
||||
$facture["totalHt"] = $factureTotalHt;
|
||||
$facture["totalTtc"] = $factureTotalTtc;
|
||||
$facture["totalTva"] = $factureTotalTva;
|
||||
$facture["isFactureClientGroup"] = !$isFactureSingleClient;
|
||||
return $facture;
|
||||
}
|
||||
}
|
||||
|
||||
@ -5,6 +5,7 @@ use OCA\Gestion\Helpers\PriceHelpers;
|
||||
$facture = $_['facture'];
|
||||
$factureOrderNumber = $facture->facture_order_number == '' ? '-' : $facture->facture_order_number;
|
||||
$factureCaseNumber = $facture->facture_case_number == '' ? '-' : $facture->facture_case_number;
|
||||
$isFactureClientGroup = $facture->isFactureClientGroup;
|
||||
$currentConfig = json_decode($_['configuration'])[0];
|
||||
?>
|
||||
<div class="bootstrap-iso">
|
||||
@ -41,7 +42,10 @@ $currentConfig = json_decode($_['configuration'])[0];
|
||||
<p style="min-height:180px;"
|
||||
class="p-3 m-0 h-100 text-center text-dark text-center border border-top-0 border-2 border-dark">
|
||||
<span><?php echo $facture->group_name; ?></span><br />
|
||||
<span><?php echo $facture->client_name; ?></span><br />
|
||||
<?php if($isFactureClientGroup == false){
|
||||
?>
|
||||
<span><?php echo $facture->client_name; ?></span><br />
|
||||
<?php }?>
|
||||
<span><?php echo $facture->client_address; ?></span><br />
|
||||
<span><?php echo $facture->mail; ?></span><br />
|
||||
<span><?php echo $facture->siret; ?></span><br />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user