Template for France version 1.5.2


#1

Facture model pour France



M2-NORMAL.php (11.8 KB)
M2-PAYE.php (12.0 KB)
M2-RAPPEL.php (12.1 KB)
paye
rappel


#2

Thanks for sharing your templates! :+1:


#3

Thanks for your template, but what are the name of the images “Payé” and “Impayé” and where are them ?

And please, could you share them ?


#4

sorry for the delay.


#5

Merci beaucoup : )


#6

Good evening,
thank you for sharing, I do not know or add the two images paid & impyé for it to appear on the pdf of the invoice.
thank you


#7

Thanks Bydogan! How could I remove “country” from Client’s address and my company address?


#8

Nevermind. I just had to remove country from Client address.


#9

Hi,
delete line no: 159-163
if ($invoice->user_country) {
echo ‘

’ . get_country_name(trans(‘cldr’), $invoice->user_country) . ‘
’;
}
    echo '<br/>';

and delete line no: 228-232
if ($invoice->client_country) {
echo ‘

’ . get_country_name(trans(‘cldr’), $invoice->client_country) . ‘
’;
}
    echo '<br/>';

ok

I am sorry, my english is not good :slight_smile:


#10

Hi Mohamed_Samy_Dridi,
you should put pictures in “uploads” folder


#11

Thank you
directly in the uploads file like this :


#12

@bydogan Do you know how can I change (remove decimal points) from QTE from 1.00 to 1? Also, I cannot find CONDITIONS GENERALES - do you know where do I add my custom CONDITIONS GENERALES?


#13

hi Onastvar,

for QTE;
line 287
it’s the way it is now ( <?php echo format_amount($item->item_quantity); ?> = 1.00 )
change it like this ( <?php echo floor ($item->item_quantity); ?> = 1 )

for CONDITIONS GENERALES;
When creating an invoice, you should write to the section below ( invoice terms section )


#14

thank you @bydogan

file
/web/invoices/application/views/invoice_templates/pdf/M2-NORMAL.php

on line 275 I have

<?php echo format_amount($item->item_quantity); ?>

when I change to

<?php echo floor ($item->item_quantity); ?> = 1

I get QTE displays 1 = 1


#15

Don’t add the =1 after ?>
:slight_smile:


#16

Thank You so much @Maxime_GRIMLER that fixed it.