lang->line('health_care_sheets'). ' - ' . $health_care_sheet_id; ?>
state == 'REJECTED') { ?>

db->hostname . ';dbname=' . $this->db->database, $this->db->username, $this->db->password); $configuration = new PDOProviderConfiguration(); $configuration->tableName = 'exchange_rate'; $configuration->exchangeRateColumnName = 'exchange_rate'; $configuration->targetCurrencyColumnName = 'target_currency'; $configuration->sourceCurrencyCode = $baseCurrency; // this provider loads exchange rates from your database $provider = new PDOProvider($pdo, $configuration); // this provider calculates exchange rates relative to the base currency $provider = new BaseCurrencyProvider($provider, $baseCurrency); // this currency converter can now handle any currency pair $this->converter = new CurrencyConverter($provider); $this->context = new AutoContext(); $fmt = new NumberFormatter('fr_FR', NumberFormatter::DECIMAL); ?>

lang->line('health_care_sheet_infos')?>

type == 'EXECUTION') { ?>
Patient
lang->line('insured_id'); ?> insured_id ?>
lang->line('patient_lastname'); ?> patient_lastname ; ?>
lang->line('patient_firstname')?> patient_firstname ?>
lang->line('patient_situation')?> lang->line($health_care_sheet->patient_situation) ?>
Consultation
lang->line('consultation_id')?> consultation_health_care_sheet_id ?>
lang->line('practitioner_lastname')?> consultation_practitioner_lastname ?>
lang->line('practitioner_firstname')?> consultation_practitioner_firstname ?>
Classification consultation_practitioner_provider_class ?>
lang->line('institution_name'); ?> consultation_institution_name ?>
accident_date)){ ?> pregnancy_start_at)){ ?>
lang->line('practitioner') ?>
lang->line('institution_name'); ?> institution_name ?>
lang->line('institution_code'); ?> institution_code ?>
lang->line('practitioner_lastname'); ?> practitioner_lastname ; ?>
lang->line('practitioner_firstname')?> practitioner_firstname ?>
Classification practitioner_provider_class ?>
lang->line('care_condition')?> lang->line($health_care_sheet->care_condition) ?>
lang->line('accident_date'); ?>
lang->line('pregnancy_start_at'); ?>
lang->line('pregnancy_end_at'); ?>

type?>

Type

lang->line($health_care_sheet->state)?>

lang->line('Statut') ?>

type != 'EXECUTION') { ?>

lang->line('performances') ?>

result() as $i => $row) { $amount = Money::of(round($row->amount, 2), $health_care_sheet->currency_code, $this->context)->formatTo('fr_FR'); $moderator_ticket = Money::of(round($row->moderator_ticket, 2), $health_care_sheet->currency_code, $this->context)->formatTo('fr_FR'); $insurance_amount = Money::of(round($row->insurance_amount, 2), $health_care_sheet->currency_code, $this->context)->formatTo('fr_FR'); $home_visit_fees = isset($row->home_visit_fees) ? Money::of(round($row->home_visit_fees, 2), $health_care_sheet->currency_code, $this->context)->formatTo('fr_FR') : ''; echo ""; ?>
# lang->line('act_code'); ?> lang->line('Montant'); ?> lang->line('moderator_ticket'); ?> lang->line('insurance_amount'); ?> lang->line('home_visit_fees'); ?> Date
" . ($i+1) . " " . $row->act_code . " " . $amount . " " . $moderator_ticket . " " . $insurance_amount . " ".$home_visit_fees." " . $row->created_at. "
num_rows() > 0 ) { ?>

lang->line('exams') ?>

type == 'EXECUTION') { ?> result() as $i => $row) { if($health_care_sheet->type == 'EXECUTION') { $unit_price = Money::of(round($row->unit_price, 2), $health_care_sheet->currency_code, $this->context)->formatTo('fr_FR'); $insurance_part = Money::of(round($row->insurer_paid_amount, 2), $health_care_sheet->currency_code, $this->context)->formatTo('fr_FR'); $insured_part = Money::of(round($row->insured_paid_amount, 2), $health_care_sheet->currency_code, $this->context)->formatTo('fr_FR'); } echo ""; if($health_care_sheet->type == 'EXECUTION') { ?>
# lang->line('exam_class'); ?> lang->line('exam_description'); ?> lang->line('quantity'); ?> lang->line('UNIT_PRICE'); ?> lang->line('percentage_insurer'); ?> lang->line('percentage_insured'); ?>
" . ($i+1) . " " . $row->act_name . " " . $row->description . " " . $row->quantity. "
num_rows() > 0 ) { ?>

lang->line('medical_prescriptions') ?>

type == 'EXECUTION') { ?> result() as $i => $row) { if($health_care_sheet->type == 'EXECUTION') { // $amount = Money::of(round($row->amount, 2), $insurance->currency_code, $this->context)->formatTo('fr_FR'); $unit_price = Money::of(round($row->unit_price, 2), $health_care_sheet->currency_code, $this->context)->formatTo('fr_FR'); $insurance_part = Money::of(round($row->insurer_paid_amount, 2), $health_care_sheet->currency_code, $this->context)->formatTo('fr_FR'); $insured_part = Money::of(round($row->insured_paid_amount, 2), $health_care_sheet->currency_code, $this->context)->formatTo('fr_FR'); } echo ""; if($health_care_sheet->type == 'EXECUTION') { ?>
# lang->line('drugs_or_device'); ?> lang->line('dosage'); ?> lang->line('quantity'); ?> lang->line('UNIT_PRICE'); ?> lang->line('percentage_insurer'); ?> lang->line('percentage_insured'); ?>
" . ($i+1) . " " . $row->drug_or_device_name . " " . $row->dosage . " " . $row->quantity. "