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,29 @@
{default_translation_domain domain="virtualproductdelivery.email.default"}
{default_locale locale={$locale}}
{loop name="order.invoice" type="order" id=$order_id customer="*" limit="1" backend_context="1"}
<p>
{intl l="Your order %ref has been validated. You can download your files." ref={$REF}}</p>
<p>{intl l="Products:"}</p>
<ul>
{loop type="order_product" name="order-products" order=$ID virtual="1" backend_context="1"}
<li>
{$TITLE} : <a href="{url path="/account/download/$ID"}">{url path="/account/download/$ID"}</a>
{ifloop rel="combinations"}
<br><em>
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}
{$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}
{/loop}</em>
{/ifloop}
</li>
{/loop}
</ul>
{/loop}
<p>{intl l="You have to be logged in to your account to download this files."}</p>
<p>{intl l="Feel free to contact us for any further information."}</p>
<p>{intl l="Best Regards."}</p>

View File

@@ -0,0 +1,26 @@
{default_translation_domain domain="virtualproductdelivery.email.default"}
{default_locale locale={$locale}}
{loop name="order.invoice" type="order" id=$order_id customer="*" limit="1" backend_context="1"}
{intl l="Your order %ref has been validated. You can download your files." ref={$REF}}
----------------------------------------------------------------------
{intl l="Products:"}
----------------------------------------------------------------------
{loop type="order_product" name="order-products" order=$ID virtual="1" backend_context="1"}
{$TITLE} : {url path="/account/download/$ID"}
{ifloop rel="combinations"}
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}
{$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}
{/loop}
{/ifloop}
----------------------------------------------------------------------
{/loop}
{/loop}
{intl l="You have to be logged in to your account to download this files."}
{intl l="Feel free to contact us for any further information."}
{intl l="Best Regards."}

View File

@@ -0,0 +1,24 @@
{loop type="order" name="virtual.order" id="$order_id" limit="1"}
{if $STATUS >=2 && $VIRTUAL}
<table class="table table-condensed table-order" summary="{intl l="List of downloadable files" d='virtualproductdelivery.fo.default'}">
<thead>
<tr>
<th>{intl l="File" d='virtualproductdelivery.fo.default'}</th>
<th>{intl l="Download" d='virtualproductdelivery.fo.default'}</th>
</tr>
</thead>
<tbody>
{loop name="virtual.order.products" type="order_product" virtual="1" order={$ID}}
<tr>
<td>{$TITLE}</td>
<td>
<a href="{url path="/account/download/$ID"}" class="btn">
<span class="glyphicon glyphicon-download"></span> {intl l="Download" d='virtualproductdelivery.fo.default'}
</a>
</td>
</tr>
{/loop}
</tbody>
</table>
{/if}
{/loop}

View File

@@ -0,0 +1,6 @@
<div class="panel">
<div class="panel-heading">{intl l="Delivery address" d="virtualproductdelivery.fo.default"}</div>
<div class="panel-body">
{intl l="No delivery address for this delivery method" d="virtualproductdelivery.fo.default"}
</div>
</div>

View File

@@ -0,0 +1,3 @@
<p>
{intl l="No delivery address for this delivery method" d="virtualproductdelivery.pdf.default"}
</p>