added country select

This commit is contained in:
Adrian Hinz 2018-06-04 13:33:01 +02:00
parent af5a65fa70
commit 3ef5187b03
2 changed files with 6 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class OrderMailer < ApplicationMailer
ss = ScSetting.first
otp = OrderToPdf.new(@order)
attachments[otp.file_name] = otp.call
sleep(5) #to make sure pdf file saved on the disk
sleep(5) # to make sure pdf file saved on the disk
mail(subject: "Nowe zamówienie nr: #{@order.beauty_id}",
from: "#{ss.shop_name} <kaktusiarnia.rumia@gmail.com>",
to: ss.shop_owners_emails,

View File

@ -61,6 +61,11 @@
<!-- end col -->
</div>
<!-- end row -->
<div class="form-group">
<select class="form-control">
<option value="pl">Polska</option>
</select>
</div>
</div>
<!-- end col -->