Browse Source

Initiatlisation renouvelement stock

feature/export_comptable
Fab 4 years ago
parent
commit
6c25fcd80f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      ShopBundle/Resources/public/js/backend/script/default/init-common.js
  2. +1
    -1
      ShopBundle/Resources/views/backend/default/list.html.twig

+ 1
- 1
ShopBundle/Resources/public/js/backend/script/default/init-common.js View File

} }


function initButtonConfirm() { function initButtonConfirm() {
$('.btn-confirm-js').click(function () {
$('.btn-confirm-js, .action-confirm').click(function () {
return confirm('Êtes-vous sûr de vouloir réaliser cette action ?'); return confirm('Êtes-vous sûr de vouloir réaliser cette action ?');
}); });
} }

+ 1
- 1
ShopBundle/Resources/views/backend/default/list.html.twig View File

{% endblock new_action %} {% endblock new_action %}
{% endif %} {% endif %}
{% if _entity_config['list']['btn_init_export_purchase_order'] is defined %} {% if _entity_config['list']['btn_init_export_purchase_order'] is defined %}
<a class="float-right btn-sm btn-success action-sort"
<a class="float-right btn-sm btn-success action-confirm"
href="{{ path('easyadmin', { entity: 'Supplier', action: 'initExportPurchaseOrder' }) }}"> href="{{ path('easyadmin', { entity: 'Supplier', action: 'initExportPurchaseOrder' }) }}">
<i class="fa fa-undo"></i> Réinitialiser export bons de commande <i class="fa fa-undo"></i> Réinitialiser export bons de commande
</a> </a>

Loading…
Cancel
Save