145 lines
3.3 KiB
Plaintext
145 lines
3.3 KiB
Plaintext
!!!
|
|
%html
|
|
%head
|
|
|
|
%meta{:"http-equiv" => "Content-Type", :content=>"text/html; charset=UTF-8"}
|
|
%meta{:name=>"viewport", :content=>"width=device-width,initial-scale=1"}
|
|
:css
|
|
body{
|
|
font-size:11pt;
|
|
padding :0px;
|
|
margin:0px;
|
|
background-color: transparent;
|
|
|
|
font-family:"Arial" ;
|
|
}
|
|
#main{
|
|
//margin-left:4.2cm;
|
|
|
|
}
|
|
td, th{
|
|
//border:1px solid black;
|
|
padding:5px;
|
|
vertical-align:top;
|
|
|
|
}
|
|
th{
|
|
font-weight:normal;
|
|
border-bottom:1px solid gray;
|
|
text-align:right;
|
|
}
|
|
|
|
table{
|
|
border-collapse:collapse;
|
|
|
|
}
|
|
|
|
tr{
|
|
page-break-inside:avoid;
|
|
|
|
}
|
|
|
|
#bottom{
|
|
page-break-inside:avoid;
|
|
|
|
}
|
|
.right{
|
|
text-align:right;
|
|
|
|
}
|
|
.line p{
|
|
margin:0px;
|
|
}
|
|
.description{
|
|
padding-top:2pt;
|
|
display:block;
|
|
|
|
}
|
|
|
|
.bot_separate{
|
|
height:50pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%body
|
|
#main
|
|
%div{:style => "height:2cm;"}
|
|
|
|
|
|
#document_info{:style => "position:absolute;top:2cm;left:12cm;"}
|
|
=#"Facture n°#{current_product_customer.bill_number}"
|
|
%br
|
|
="Le #{l(@virement.created_at, :format => :date)}"
|
|
#recipient_address{:style => "position:absolute;top:5cm;left:12cm;"}
|
|
|
|
-if current_product_customer.organisation?
|
|
=current_product_customer.organisation
|
|
|
|
-else
|
|
=current_product_customer.firstname
|
|
=current_product_customer.name
|
|
|
|
%br
|
|
=current_product_customer.address
|
|
%br
|
|
-if current_product_customer.address2?
|
|
=current_product_customer.address2
|
|
%br
|
|
|
|
=current_product_customer.cp
|
|
=current_product_customer.city
|
|
%br
|
|
=current_product_customer.country
|
|
|
|
|
|
|
|
#header{:style => ""}
|
|
|
|
|
|
|
|
%div{:style => "margin-top:8cm;margin-left:1cm;margin-right:1cm;margin-bottom:0cm;position:relative;"}
|
|
%p
|
|
%strong Note de virement de commission
|
|
%p
|
|
Référence du virement :
|
|
%strong= @virement.token.upcase
|
|
%p
|
|
Date de la demande de virement :
|
|
%strong= @virement.created_at
|
|
%p
|
|
Référence compte destinataire :
|
|
%strong= @virement.account_rib.iban
|
|
%p
|
|
Montant du virement :
|
|
%strong=number_to_currency @virement.amount_ttc
|
|
-tva = true if @virement.tva.to_f > 0
|
|
-if tva
|
|
%p
|
|
dont
|
|
=number_to_currency @virement.tva
|
|
de TVA
|
|
(
|
|
Votre numéro de TVA :
|
|
=@virement.account_rib.tva_number
|
|
)
|
|
|
|
|
|
|
|
#footer{:style => "margin:1cm 1cm;margin-top:5cm"}
|
|
|
|
|
|
%p Important : Nous vous rappelons que vous devez déclarer les commissions que nous vous versons dans vos revenus ou dans les recettes de votre structure. En cas de doute sur la manière de déclarer vos commissions n'hésitez pas à vous rapprocher d'une personne compétente comme un expert comptable par exemple.
|
|
|
|
|
|
|
|
|
|
|
|
|