{intl d='customdelivery.bo.default' l='Configuration.'}
{form name="customdelivery.configuration.form"}
{if $form_error_message}
{$form_error_message}
{/if} {form_hidden_fields form=$form} {render_form_field form=$form field="url"} {render_form_field form=$form field="method"} {form_field form=$form field="tax"}
{/form_field}
{/form}
{* default currency *} {loop type="currency" name="default_currency" default_only="1"} {$currencySymbol=$SYMBOL} {/loop}
{intl d='customdelivery.bo.default' l='Slices.'}
{loop type="area" name="area" module_id=$module_id backend_context=true} {$area_id=$ID}
{if $method != 2}{/if} {if $method != 1}{/if} {loop type="custom-delivery-slice" name="custom-delivery-slice" area_id=$area_id order="weight_max,price_max" } {if $method != 2} {/if} {if $method != 1} {/if} {/loop} {* New slice *} {loop type="auth" name="can_change" role="ADMIN" module="customdelivery" access="CREATE"} {if $method != 2} {/if} {if $method != 1} {/if} {/loop}
{intl d='customdelivery.bo.default' l="Area : "} {$NAME}
{intl d='customdelivery.bo.default' l="Untaxed Price up to ... %symbol" symbol=$currencySymbol}{intl d='customdelivery.bo.default' l="Weight up to ... kg"}{intl d='customdelivery.bo.default' l="Price (%symbol)" symbol=$currencySymbol} {intl d='customdelivery.bo.default' l="Actions"}
{loop type="auth" name="can_change" role="ADMIN" module="customdelivery" access="UPDATE"} {/loop} {loop type="auth" name="can_change" role="ADMIN" module="customdelivery" access="DELETE"} {/loop}
{/loop} {elseloop rel="area"}
{intl d='customdelivery.bo.default' l="You should first attribute shipping zones to the modules: "} {intl d='customdelivery.bo.default' l="manage shipping zones"}
{/elseloop}
{include file = "includes/generic-warning-dialog.html" dialog_id = "custom_delivery_dialog" dialog_title = {intl d='customdelivery.bo.default' l="Message"} dialog_body = "" } {* JS Templates *}