Inital commit

This commit is contained in:
2020-11-19 15:36:28 +01:00
parent 71f32f83d3
commit 66ce4ee218
18077 changed files with 2166122 additions and 35184 deletions

View File

@@ -0,0 +1,55 @@
{if isset($smarty.get.errmes) && !empty($smarty.get.errmes)}
<div class="alert alert-danger">
{$smarty.get.errmes}
</div>
{/if}
<div class="row">
<div class="col-md-12 general-block-decorator">
<div class="row">
<div class="col-md-12 title title-without-tabs">
{intl d='cheque.bo.default' l="Cheque instructions configuration"}
</div>
</div>
<div class="form-container">
<div class="row">
<div class="col-md-12">
{form name="cheque.instructions.configure"}
<form action="{url path="/admin/cheque/configure"}" method="post">
{include
file = "includes/inner-form-toolbar.html"
hide_submit_buttons = false
page_url = {url path="/admin/module/Cheque"}
close_url = {url path="/admin/modules"}
}
{form_hidden_fields}
{if $form_error}
<div class="row">
<div class="col-md-12">
<div class="alert alert-danger">{$form_error_message}</div>
</div>
</div>
{/if}
{loop type="module-config" name="get-payable-to" module="Cheque" variable="payable_to"}
{render_form_field field="payable_to" value=$VALUE}
{/loop}
{loop type="module-config" name="get-instruction" module="Cheque" variable="instructions" locale=$edit_language_locale}
{render_form_field field="instructions" extra_class="wysiwyg" value=$VALUE}
{/loop}
</form>
{/form}
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,21 @@
{loop type="module-config" name="cheque-instructions" module="cheque" variable="payable_to"}
<p>{intl d='cheque.fo.default' l="Please make your cheque payable to <b>%name</b>, and send it to the following address :" name={$VALUE}}</p>
{/loop}
<blockquote>
{config key="store_name"}<br>
{config key="store_address1"}<br />
{if ! empty({config key="store_address2"})}{config key="store_address2"}<br />{/if}
{if ! empty({config key="store_address3"})}{config key="store_address3"}<br />{/if}
{config key="store_zipcode"}, {config key="store_city"}<br />
{if {config key="store_country"}}
{loop type="country" name="store_country" id={config key="store_country"}}
{$TITLE}<br />
{/loop}
{/if}
</blockquote>
<p><span class="glyphicon glyphicon-warning-sign"></span> {intl d='cheque.fo.default' l="Be sure to sign your cheque !"}</p>
{loop type="module-config" name="cheque-instructions" module="cheque" variable="instructions" locale={lang attr='locale'}}
<p>{$VALUE nofilter}</p>
{/loop}

View File

@@ -0,0 +1,5 @@
{loop type="module-config" name="cheque-instructions" module="cheque" variable="instructions" locale={lang attr='locale'}}
<p>{$VALUE nofilter}</p>
{/loop}
<p><span class="glyphicon glyphicon-warning-sign"></span> {intl d='cheque.fo.default' l="Be sure to sign your cheque !"}</p>