code from amapei

This commit is contained in:
cagette@ct8
2020-09-26 18:25:18 +00:00
parent 42fe367911
commit 72b4699871
1966 changed files with 220437 additions and 2 deletions
+35
View File
@@ -0,0 +1,35 @@
::use 'design.mtt'::
<div class="col-md-12">
<div class="article text-center">
<div class="alert alert-success" style="font-size: 1.6em;font-weight: bold;">
<i class="fa fa-check" aria-hidden="true"></i> ::_("Your order has been recorded !")::
</div>
<hr/>
<div style="margin:32px;">
<p>
<b>::_("You chose to pay by cash at the product distribution"):: :</b>
</p>
<p>
::_("Please prepare the following amount for the distribution :"):: : <b>::formatNum(amount):: ::currency()::</b>
</p>
<p>
<a href="/contract" class="btn btn-default">
<span class="glyphicon glyphicon-chevron-right"></span> ::_("Check my orders")::</a>
</p>
</div>
</div>
</div>
::end::
+42
View File
@@ -0,0 +1,42 @@
::use 'design.mtt'::
<div class="col-md-12">
<div class="article text-center">
<div class="alert alert-success" style="font-size: 1.6em;font-weight: bold;">
<i class="fa fa-check" aria-hidden="true"></i> ::_("Your order has been recorded !")::
</div>
<hr/>
<div style="margin:32px;">
<p>
<b>::_("You chose to pay by check at the product distribution"):: :</b>
</p>
<p>
::raw __("Prepare a check of <b>::amount:: ::currency::</b> payable to : <b>::checkOrder::</b>",{checkOrder:user._amap.checkOrder,amount:formatNum(amount),currency:currency()})::
</p>
<p>
::_("Mention this reference at the back of the check in order to facilitate its process:"):: <br/>
<span style="font-size:1.3em;margin:12px;">::code::</span>
</p>
<p>
<a href="/contract" class="btn btn-default">
<span class="glyphicon glyphicon-chevron-right"></span> ::_("Check my orders")::</a>
</p>
</div>
</div>
</div>
::end::
+42
View File
@@ -0,0 +1,42 @@
::use 'design.mtt'::
<div class="col-md-12">
<div class="article text-center">
<div class="alert alert-success" style="font-size: 1.6em;font-weight: bold;">
<i class="fa fa-check" aria-hidden="true"></i> ::_("Your order has been recorded !")::
</div>
<hr/>
<div style="margin:32px;">
<p>
<b>::_("You chose to pay with your money pot."):: :</b>
</p>
<p>
::_("Please remember to clear your balance at the time agreed with the coordinator of your group.")::
</p>
<p>
::__("Your current balance is : ::balance:: ::currency::",{balance: balance,currency: currency() })::
</p>
<p>
<a href="/contract" class="btn btn-default">
<span class="glyphicon glyphicon-chevron-right"></span> ::_("Check my orders")::</a>
<a href="/account/payments" class="btn btn-default">
<span class="glyphicon glyphicon-chevron-right"></span> ::_("Check my payments history")::</a>
</p>
</div>
</div>
</div>
::end::
+60
View File
@@ -0,0 +1,60 @@
::use 'design.mtt'::
<div class="col-md-12">
<div class="article text-center">
<h2>::_("Order payment")::</h2>
<!--<div>
::_("Your current balance is"):: <b>::ua.balance::</b>
</div> -->
<div style="font-size:120%;">
<p>
::_("Amount to pay"):: : <b>::formatNum(amount):: ::currency()::</b>
</p>
<p>
::_("Your basket has been recorded, please select a payment method to confirm it.")::
</p>
</div>
<div class="row">
::if(paymentTypes==null || paymentTypes.length==0)::
<div class="col-md-12">
<div class="alert alert-danger">
::_("Currently no payment method has been defined for this group.")::
</div>
</div>
::end::
::foreach p paymentTypes::
<div class="col-md-4">
::if(p.type != "moneypot" || allowMoneyPotWithNegativeBalance || futurebalance >= 0)::
::set class = "clickable"::
::set href = p.link::
::else::
::set class = "clickable disabled"::
::set href = "#"::
::set warning = _("You do not have sufficient funds to pay this order with your money pot.")::
::end::
<a class="::class::" href="::href::" style="min-height:120px;vertical-align:middle;">
<h3>::p.name::</h3>
::raw p.icon::
::if( warning )::
<br/>::warning::
::end::
</a>
</div>
::end::
</div>
</div>
</div>
::end::
+40
View File
@@ -0,0 +1,40 @@
::use 'design.mtt'::
<div class="col-md-12">
<div class="article text-center">
<div class="alert alert-success" style="font-size: 1.6em;font-weight: bold;">
<i class="fa fa-check" aria-hidden="true"></i> ::_("Your order has been recorded !")::
</div>
<hr/>
<div style="margin:32px;">
<p>
<b>::_("You chose to pay by transfer"):: :</b>
</p>
<p>
::_("Please make a transfer of")::
<b>::formatNum(amount):: ::currency()::</b>
::_("to the following bank account:")::<br/>
::_("IBAN:"):: <b>::user._amap.IBAN::</b>
</p>
<p>
::_("Mention this reference in the label of the transfer in order to facilitate its process:")::<br/>
<span style="font-size:1.3em;margin:12px;">::code::</span>
</p>
<p>
<a href="/contract" class="btn btn-default">
<span class="glyphicon glyphicon-chevron-right"></span> ::_("Check my orders")::</a>
</p>
</div>
</div>
</div>
::end::
+81
View File
@@ -0,0 +1,81 @@
<table class="table table-bordered">
<tr>
<td>Operation ID</td>
<td>::op.id::</td>
</tr>
<tr>
<td>Name</td>
<td>::op.name::</td>
</tr>
<tr>
<td>Data</td>
<td>::op._data::</td>
</tr>
<tr>
<td>Infos</td>
<td>
::if infos!=null::
::foreach h infos.HPAY::
<table class="table table-bordered">
<tr>
<td>ID</td><td>::h.ID::</td>
</tr>
<tr>
<td>DATE</td><td>::h.DATE::</td>
</tr>
<tr>
<td>SEN</td><td>::h.SEN::</td>
</tr>
<tr>
<td>REC</td><td>::h.REC::</td>
</tr>
<tr>
<td>DEB</td><td>::h.DEB::</td>
</tr>
<tr>
<td>CRED</td><td>::h.CRED::</td>
</tr>
<tr>
<td>REFUND</td><td>::h.REFUND::</td>
</tr>
<tr>
<td>COM</td><td>::h.COM::</td>
</tr>
<tr>
<td>MSG</td><td>::h.MSG::</td>
</tr>
<tr>
<td>STATUS</td><td>::h.STATUS::</td>
</tr>
<tr>
<td>EXTRA</td>
<td>
IS3DS : ::h.EXTRA.IS3DS::<br/>
CTRY : ::h.EXTRA.CTRY::<br/>
AUTH : ::h.EXTRA.AUTH::<br/>
NUM : ::h.EXTRA.NUM::<br/>
EXP : ::h.EXTRA.EXP::<br/>
TYP : ::h.EXTRA.TYP::<br/>
</td>
</tr>
<tr>
<td>INT_MSG</td><td>::h.INT_MSG::</td>
</tr>
<tr>
<td>MLABEL</td><td>::h.MLABEL::</td>
</tr>
<tr>
<td>INT_STATUS</td><td>::h.INT_STATUS::</td>
</tr>
</table>
::end::
::end::
</td>
</tr>
</table>