Merge branch 'develop' into gli-2486
This commit is contained in:
@@ -1722,7 +1722,6 @@
|
||||
</script>
|
||||
|
||||
<div class="leadin">{block name="leadin"}{/block}</div>
|
||||
{include file='controllers/orders/_current_cart_details_data.tpl'}
|
||||
{* If cart has errors the do not allow to proceed with this cart *}
|
||||
<div class="panel form-horizontal" id="customer_part" {if isset($is_order_created) && $is_order_created}style="display:none;"{/if}>
|
||||
<div class="panel-heading">
|
||||
@@ -1812,6 +1811,7 @@
|
||||
</div>
|
||||
</div> -->*}<!-- by webkul to hide unnessesary content -->
|
||||
</div>
|
||||
{include file='controllers/orders/_current_cart_details_data.tpl'}
|
||||
|
||||
<form class="form-horizontal" action="{$link->getAdminLink('AdminOrders')|escape:'html':'UTF-8'}&addorder=1&cart_id={$cart->id}" method="post" style="display:none" id="cart_detail_form">
|
||||
<div class="panel" id="products_part" style="display:none;">
|
||||
@@ -2189,6 +2189,19 @@
|
||||
{else}
|
||||
{assign var=is_full_payment value=true}
|
||||
{/if}
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3">{l s="Send mails"}</label>
|
||||
<div class="col-lg-9">
|
||||
<span class="switch prestashop-switch fixed-width-lg">
|
||||
<input type="radio" name="send_mails" id="send_mails_on" value="1" checked="checked">
|
||||
<label for="send_mails_on">{l s="Yes"}</label>
|
||||
<input type="radio" name="send_mails" id="send_mails_off" value="0">
|
||||
<label for="send_mails_off">{l s="No"}</label>
|
||||
<a class="slide-button btn"></a>
|
||||
</span>
|
||||
<p class="help-block">{l s='If disabled, no mail related to this order will be sent during order creation.'}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group" {if $order_total <= 0}style="display: none;"{/if}>
|
||||
<label class="control-label col-lg-3">{l s="Full payment"}</label>
|
||||
<div class="col-lg-9">
|
||||
|
||||
@@ -124,17 +124,21 @@
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="fixed-width-xl">
|
||||
<select class="service_product_id_tax_rules_group" name="{$inputs_prefix}id_tax_rules_group">
|
||||
<option value="0">{l s='No Tax'}</option>
|
||||
{foreach from=$tax_rules_groups item=tax_rules_group}
|
||||
<option value="{$tax_rules_group.id_tax_rules_group}" {if isset($smarty.post["{$inputs_prefix}id_tax_rules_group"])}{if $tax_rules_group.id_tax_rules_group == $smarty.post["{$inputs_prefix}id_tax_rules_group"]}{/if}{elseif $tax_rules_group.id_tax_rules_group == $service_product.id_tax_rules_group}selected{/if}>
|
||||
{$tax_rules_group['name']|htmlentitiesUTF8}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
<div class="help-block">{l s='Default tax rule: %s' sprintf=$service_product.tax_rules_group_name}</div>
|
||||
{if $service_product.auto_add_to_cart&& $service_product.price_addition_type == Product::PRICE_ADDITION_TYPE_WITH_ROOM}
|
||||
{l s='-'}
|
||||
{else}
|
||||
<div class="fixed-width-xl">
|
||||
<select class="service_product_id_tax_rules_group" name="{$inputs_prefix}id_tax_rules_group">
|
||||
<option value="0">{l s='No Tax'}</option>
|
||||
{foreach from=$tax_rules_groups item=tax_rules_group}
|
||||
<option value="{$tax_rules_group.id_tax_rules_group}" {if isset($smarty.post["{$inputs_prefix}id_tax_rules_group"])}{if $tax_rules_group.id_tax_rules_group == $smarty.post["{$inputs_prefix}id_tax_rules_group"]}{/if}{elseif $tax_rules_group.id_tax_rules_group == $service_product.id_tax_rules_group}selected{/if}>
|
||||
{$tax_rules_group['name']|htmlentitiesUTF8}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
<div class="help-block">{l s='Default tax rule: %s' sprintf=$service_product.tax_rules_group_name}</div>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
Reference in New Issue
Block a user