added country select
This commit is contained in:
parent
af5a65fa70
commit
3ef5187b03
|
|
@ -14,7 +14,7 @@ class OrderMailer < ApplicationMailer
|
||||||
ss = ScSetting.first
|
ss = ScSetting.first
|
||||||
otp = OrderToPdf.new(@order)
|
otp = OrderToPdf.new(@order)
|
||||||
attachments[otp.file_name] = otp.call
|
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}",
|
mail(subject: "Nowe zamówienie nr: #{@order.beauty_id}",
|
||||||
from: "#{ss.shop_name} <kaktusiarnia.rumia@gmail.com>",
|
from: "#{ss.shop_name} <kaktusiarnia.rumia@gmail.com>",
|
||||||
to: ss.shop_owners_emails,
|
to: ss.shop_owners_emails,
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,11 @@
|
||||||
<!-- end col -->
|
<!-- end col -->
|
||||||
</div>
|
</div>
|
||||||
<!-- end row -->
|
<!-- end row -->
|
||||||
|
<div class="form-group">
|
||||||
|
<select class="form-control">
|
||||||
|
<option value="pl">Polska</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- end col -->
|
<!-- end col -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue