report_facture

🔧 fwl_TS_NOOA_FACTURE_lowcode_report_PDF_facture_entete

Les fonctions fwl_TOOSMART_NOOA_lowcode_report_PDF_facture_XXX sont pour l'édition du pdf de facturation les différentes fonctions represente les différentes parties du pdf où il y a besoin de fonction spé.
function fwl_TS_NOOA_FACTURE_lowcode_report_PDF_facture_entete(){ global $navi_id_type; global $navi_id_obje; global $factureManager; if(!isset($factureManager)){ $factureManager = new FactureManager_Nooa($navi_id_type,$navi_id_obje); } $franchise = $factureManager->getEntite(); if(!empty($franchise['att3'])){ $phone_assembly = implode('.', str_split($franchise['att3'], 2)); // ... (truncated)

🔧 fwl_TS_NOOA_FACTURE_lowcode_report_PDF_facture_tampon

Fonction pour l'ajout du tampon facture acquité si le checkbox est true
function fwl_TS_NOOA_FACTURE_lowcode_report_PDF_facture_tampon() { global $navi_id_type; global $navi_id_obje; global $factureManager; if(!isset($factureManager)){ $factureManager = new FactureManager_Nooa($navi_id_type,$navi_id_obje); } $tampon=($factureManager->getFactureInfos()[$factureManager->getModuleCodes()['fac_is_soldee']]==1)? $factureManager->getTamponAcquite():' '; return $tampon; }

↩️ Returns

(string)

🔧 fwl_TS_NOOA_FACTURE_lowcode_report_PDF_facture_pied_de_page

function fwl_TS_NOOA_FACTURE_lowcode_report_PDF_facture_pied_de_page(){ global $navi_id_obje; global $navi_id_type; global $factureManager; if(!isset($factureManager)){ $factureManager = new FactureManager_Nooa($navi_id_type,$navi_id_obje); } $franchise = $factureManager->getEntite(); return '<div style="line-height: 5em;">'. '<p style="text-align: center; color: #4a5568">'.$franchise["att2"].' - '.$franchise["att15"].' au capital de '.$franchise["att16"].'€ - RCS '.$franchise["att17"].'</p>'. // ... (truncated)

↩️ Returns

(string) format html avec les informations à mettre en pied de page

🔧 fwl_TS_NOOA_FACTURE_lowcode_report_pdf_facture_mode_paiement

function fwl_TS_NOOA_FACTURE_lowcode_report_pdf_facture_mode_paiement() { global $navi_id_type; global $navi_id_obje; global $factureManager; if(!isset($factureManager)){ $factureManager = new FactureManager_Nooa($navi_id_type,$navi_id_obje); } $factureOBJ = $factureManager->getThisFacture(); $delais = $factureManager->getDelais_Reglments(); $franchise = $factureManager->getEntite(); // ... (truncated)

↩️ Returns

(string)

🔧 fwl_TS_NOOA_FACTURE_lowcode_adresse_client_facture_direct

DANS LE CADRE D'UNE FACTUREE DIRECT. Ajout de l'adresse de facturation du client Adresse client - facturation directe Bouton Créat une facture DIRECT.
function fwl_TS_NOOA_FACTURE_lowcode_adresse_client_facture_direct(){ global $navi_id_obje; global $navi_id_type; global $factureManager; if(!isset($factureManager)){ $factureManager = new FactureManager_Nooa($navi_id_type,$navi_id_obje); } $infoClient = $factureManager->getClientFacture(); $adresseIntervention = fwc7_data_objet_ligs_2sort('', fwp7_param_objet_setting_get('',$navi_id_type,'client','id_type'), $infoClient['id_obje'], fwp7_param_objet_setting_get('',$navi_id_type,'client','id_adresse_intervention'), 'all', 1, '', 'id_obje', 'id_lig'); $adresseInter = reset($adresseIntervention); // ... (truncated)