fixed trello
This commit is contained in:
@@ -1,31 +1,30 @@
|
||||
|
||||
<%
|
||||
dd = @cart.delivery_destination
|
||||
c = @cart
|
||||
%>
|
||||
|
||||
**Ime:** <%= dd.name %>
|
||||
**Ime:**
|
||||
<%= dd.name %>
|
||||
|
||||
**Adresa:**
|
||||
<%= dd.address %>
|
||||
|
||||
<%= dd.place.to_s.strip %> <%= Place.name_from_code(dd.place.to_s) %>
|
||||
<%= dd.place.to_s.strip %>
|
||||
<%= Place.name_from_code(dd.place.to_s) %>
|
||||
|
||||
Bosna i Hercegovina
|
||||
Bosna i Hercegovina **Email: **<%= dd.email %>
|
||||
|
||||
**Email: **<%= dd.email %>
|
||||
**Telefon: ** +387
|
||||
<%= dd.phone %>
|
||||
|
||||
**Telefon: ** +387 <%= dd.phone %>
|
||||
|
||||
**Plaćanje: ** <%= dd.get_payment_string %>
|
||||
**Plaćanje: **
|
||||
<%= dd.get_payment_string %>
|
||||
|
||||
**Napomena: **
|
||||
<%= dd.note %>
|
||||
|
||||
<% if dd.gift %>
|
||||
**Poklon **
|
||||
|
||||
**Name: **<%= dd.recipient_name %>
|
||||
**Poklon ** **Name: **<%= dd.recipient_name %>
|
||||
**Postal code: **<%= dd.recipient_postal_code %>
|
||||
**Place: **<%= dd.recipient_place %>
|
||||
**Address: **<%= dd.recipient_address %>
|
||||
@@ -35,26 +34,24 @@ Bosna i Hercegovina
|
||||
|
||||
<% if dd.instant_delivery %>
|
||||
|
||||
**Naručeno:** <%= @cart.updated_at.in_time_zone("Europe/Sarajevo").strftime("%A %d.%m.%Y. %H:%M") %>
|
||||
**Naručeno:**
|
||||
<%= @cart.updated_at.in_time_zone("Europe/Sarajevo").strftime("%A %d.%m.%Y. %H:%M") %>
|
||||
|
||||
<% end %>
|
||||
|
||||
|
||||
<% if dd.instant_delivery %>
|
||||
** OVO JE NARUDŽBA ZA INSTANT DOSTAVU **
|
||||
<% end %>
|
||||
<% @cart.item_in_carts.each do |iic| %>
|
||||
**<%= iic.item.code %> <%= iic.item.name %>**
|
||||
|
||||
**<%= iic.count %>** x <%= Helper.money(iic.price) %> = <%= Helper.money(iic.count * iic.price) %>
|
||||
|
||||
**<%= iic.item.code %>
|
||||
<%= iic.item.name %>** **<%= iic.count %>** x
|
||||
<%= Helper.money(iic.price) %>
|
||||
=
|
||||
<%= Helper.money(iic.count * iic.price) %>
|
||||
|
||||
<% end %>
|
||||
|
||||
Dostava
|
||||
1 x <%= Helper.money(c.delivery_cost) %> = <%= Helper.money(c.delivery_cost) %>
|
||||
Dostava 1 x
|
||||
<%= Helper.money(c.delivery_cost) %>
|
||||
=
|
||||
<%= Helper.money(c.delivery_cost) %>
|
||||
|
||||
**UKUPNO:** <%= Helper.money(c.total) %>
|
||||
|
||||
[Pogledati OVAJ LINK](https://www.ribica.ba/backoffice/carts/<%= @cart.id %>)
|
||||
<% end %>
|
||||
**UKUPNO:**
|
||||
<%= Helper.money(c.total) %>
|
||||
|
||||
Reference in New Issue
Block a user