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

@@ -21,7 +21,7 @@ function initNotice() {
}

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 ?');
});
}

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

@@ -135,7 +135,7 @@
{% endblock new_action %}
{% endif %}
{% 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' }) }}">
<i class="fa fa-undo"></i> Réinitialiser export bons de commande
</a>

Loading…
Cancel
Save