date_paiement); $year = (int) $datesplit[0]; $month = (int) $datesplit[1]; $checkClient = false; if(intval($_GET['cli'])==0) { $checkClient = (strcmp(strtolower($f->entreprise), 'cogf')==0); } else { $checkClient = ($f->id_cli==intval($_GET['cli'])); } $checkYear = ((int) ($_GET['annee']) == -1)?(true):($year==((int) $_GET['annee'])); $checkMounth = (((int) $_GET['mois']) == 0)? (true): ($month==((int) $_GET['mois'])); return $checkClient && $checkYear && $checkMounth; }); if(sizeof($factures)>0) { ?>

$facture) { ?>

t('Invoice #'));?>
num;?>


t('FROM'));?> entreprise; ?>

prenom . " " . $res->nom; ?>
adresse; ?>
mail; ?>
telephone; ?>

".$l->t("; }else{ echo ""; } ?>
t('TO'));?> entreprise ?>

prenom.' '.$facture->nom ?>
adresse_cli ?>
mail_cli ?>
telephone_cli ?>
legalone_cli ?>


Date de facture : date_paiement))->format('d-m-Y');?>, t('Date of service'));?> : date))->format('d-m-Y');?>
id_devis;?>>Défunt associé : nom_defunt;?>, t('Means of payment'));?> : type_paiement;?>
Lieu : lieu;?> (adresse_soin;?>)

dcomment == "" ) ? "-" : $facture->dcomment ; ?>

dproduits as $key => $produit) { ?>
t('Reference'));?> t('Designation'));?> t('Comment'));?> t('Quantity'));?> t('Unit price without VAT'));?> t('Total without VAT'));?>
reference ?> description ?> comment ?> quantite ?> prix_unitaire, 2) ?> prix_unitaire*$produit->quantite, 2) ?>
tva_default; $totalttc = 0; $totalprice = 0; foreach ($facture->dproduits as $key => $produit) { $totalhtc = $totalhtc + ($produit->quantite*$produit->prix_unitaire); } $totalttc = ($totalhtc * $tva)/100; $totalprice = $totalhtc + $totalttc; ?>
t('Total without VAT'));?> t('VAT Rate'));?> t('Total VAT'));?> t('Total Price'));?>
%

t('Please set in global configuration'));?>


entreprise; ?>
adresse; ?>
legal_one; ?>
legal_two; ?>