This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/app/views/admin/v_bdas/ba.html.haml
2021-08-23 10:26:02 +02:00

76 lines
1.3 KiB
Plaintext

#ba
=image_tag (Rails.env.development? ? "http://localhost:3000/" : "https://loyaltyprog.market-inn.fr/")+"ba.jpg", :style => "width:564px;"
-if false
.name{:style => "top:10px;"}
=@v_bda.v_contact.prenom
=@v_bda.v_contact.nom
.place{:style => "top:226px;"}
=@v_bda.v_contact.societe.nom
.number{:style => "top:362px;"}
=@v_bda.date
.token{:style => "top:485px;"}
=@v_bda.token
.number{:style => "top:292px;"}
=number_to_currency @v_bda.amount
:scss
body{
padding:0;
margin:0;
}
#ba{
position:absolute;
font-family:Arial;
.name{
position:absolute;
left:0;
right:0;
text-align:center;
font-size:30px;
text-transform:uppercase;
font-weigh:bold;
}
.place{
position:absolute;
left:0;
right:0;
text-align:center;
font-size:20px;
text-transform:uppercase;
font-weigh:bold;
}
.number{
position:absolute;
left:0;
right:0;
text-align:center;
font-size:30px;
text-transform:uppercase;
font-weigh:bold;
}
.token{
position:absolute;
//left:0;
right:20px;
text-align:right;
font-size:16px;
text-transform:uppercase;
font-weigh:bold;
}
}