fixed trello formating
This commit is contained in:
@@ -3,24 +3,23 @@
|
|||||||
c = @cart
|
c = @cart
|
||||||
%>
|
%>
|
||||||
|
|
||||||
**Ime:**
|
**Ime:** <%= dd.name %>
|
||||||
<%= dd.name %>
|
|
||||||
|
|
||||||
**Adresa:**
|
**Adresa:**
|
||||||
<%= dd.address %>
|
<%= dd.address %>
|
||||||
|
|
||||||
<%= dd.place.to_s.strip %>
|
<%= dd.place.to_s.strip %>
|
||||||
<%= Place.name_from_code(dd.place.to_s) %>
|
<%= Place.name_from_code(dd.place.to_s) %>
|
||||||
|
Bosna i Hercegovina
|
||||||
|
|
||||||
Bosna i Hercegovina **Email: **<%= dd.email %>
|
**Email: **<%= dd.email %>
|
||||||
|
|
||||||
**Telefon: ** +387
|
**Telefon: ** +387 <%= dd.phone %>
|
||||||
<%= dd.phone %>
|
|
||||||
|
|
||||||
**Plaćanje: **
|
**Plaćanje: **<%= dd.get_payment_string %>
|
||||||
<%= dd.get_payment_string %>
|
|
||||||
|
|
||||||
**Napomena: **
|
**Napomena: **
|
||||||
|
|
||||||
<%= dd.note %>
|
<%= dd.note %>
|
||||||
|
|
||||||
<% if dd.gift %>
|
<% if dd.gift %>
|
||||||
@@ -40,18 +39,9 @@ Bosna i Hercegovina **Email: **<%= dd.email %>
|
|||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% @cart.item_in_carts.each do |iic| %>
|
<% @cart.item_in_carts.each do |iic| %>
|
||||||
**<%= iic.item.code %>
|
**<%= iic.item.code %> <%= iic.item.name %>** **<%= iic.count %>** x <%= Helper.money(iic.price) %> = <%= Helper.money(iic.count * iic.price) %>
|
||||||
<%= iic.item.name %>** **<%= iic.count %>** x
|
|
||||||
<%= Helper.money(iic.price) %>
|
|
||||||
=
|
|
||||||
<%= Helper.money(iic.count * iic.price) %>
|
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
Dostava 1 x
|
Dostava 1 x <%= Helper.money(c.delivery_cost) %> = <%= Helper.money(c.delivery_cost) %>
|
||||||
<%= Helper.money(c.delivery_cost) %>
|
|
||||||
=
|
|
||||||
<%= Helper.money(c.delivery_cost) %>
|
|
||||||
|
|
||||||
**UKUPNO:**
|
**UKUPNO:** <%= Helper.money(c.total) %>
|
||||||
<%= Helper.money(c.total) %>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user