set template for link orders
This commit is contained in:
@@ -21,7 +21,8 @@
|
||||
Nouvelles Commandes Dolibarr
|
||||
</h1>
|
||||
|
||||
<p></p>
|
||||
<p>Liste des dernières commandes/propal récupérées depuis Dolibarr.<br>
|
||||
Les commandes doivent avoir un statut "Validée", et le Propal un statut "Signée" pour apparaître dans la liste.</p>
|
||||
<div class="card">
|
||||
<div class="dataTable_wrapper">
|
||||
<table class="table table-striped table-bordered table-hover small" id="dataTables" style="width:100%">
|
||||
|
@@ -85,6 +85,10 @@
|
||||
<td>{{offer.project.customer.name}}</td>
|
||||
<td>{{offer.project.name}}</td>
|
||||
<td>{{offer.name}}</td>
|
||||
{%if offer.iddolibarr %}
|
||||
{% if offer.typedolibarr == "commande" %}<td><a href="https://doli.cadoles.com/dolibarr/commande/card.php?id={{offer.iddolibarr}}" target="_blank">{{offer.ref}}</td>{% endif %}
|
||||
{% if offer.typedolibarr == "propal" %}<td><a href="https://doli.cadoles.com/dolibarr/comm/propal/card.php?id={{offer.iddolibarr}}" target="_blank">{{offer.ref}}</td>{% endif %}
|
||||
{% endif %}
|
||||
<td>{{offer.ref}}</td>
|
||||
<td class="text-right">{{offer.quantity|number_format(2, '.', ' ')}}</td>
|
||||
<td class="text-right">{{offer.pu|number_format(2, '.', ' ')}}</td>
|
||||
|
Reference in New Issue
Block a user