cid){ $datesplit = explode("-", $d->date); $year = (int) $datesplit[0]; $month = (int) $datesplit[1]; $checkClient = false; if(strcmp($_GET['cli'], '')==0){ $checkClient = $_['clients'][0]->id == $d->cid; } else { $checkClient = ((int) $_GET['cli']) == $d->cid; } $checkYear = ((int) ($_GET['annee']) == -1)?(true):($year==((int) $_GET['annee'])); $checkMounth = (((int) $_GET['mois']) == 0)? (true): ($month==((int) $_GET['mois'])); return $checkClient && $checkYear && $checkMounth; } return false; }); if(strcmp($_GET['cli'], '')!=0 && sizeof($devis)>0) { ?>

$d) { ?>

t('Quote'));?>
sur le defunt num; ?>
(
lieu; ?>)


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

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

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

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


t('Offer valid for 1 month from'));?> : date))->format('d-m-Y'); ?>

Date de soin : date))->format('d-m-Y');?>, id;?>>Defunt associé : nom_defunt;?>
Lieu : lieu;?> (adresse_soin;?>)

comment == "" ) ? "-" : $d->comment ; ?>

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 ($d->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; ?>