From 98e64830e1940ea4455e0a6045676930308862b8 Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Sat, 7 May 2016 09:17:30 +0200 Subject: [PATCH] fixed trello formating --- front-api/views/cart_trello.erb | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/front-api/views/cart_trello.erb b/front-api/views/cart_trello.erb index f392988..c5693f7 100644 --- a/front-api/views/cart_trello.erb +++ b/front-api/views/cart_trello.erb @@ -3,24 +3,23 @@ c = @cart %> -**Ime:** -<%= dd.name %> +**Ime:** <%= dd.name %> **Adresa:** <%= dd.address %> <%= 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 %> @@ -40,18 +39,9 @@ Bosna i Hercegovina **Email: **<%= dd.email %> <% 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) %> +**UKUPNO:** <%= Helper.money(c.total) %>