Initial Commit

This commit is contained in:
2019-11-21 12:25:31 +01:00
commit f4aabcb9b1
13959 changed files with 787761 additions and 0 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"}
<p>{$VALUE nofilter}</p>
{/loop}