Browse Source

Commandes > Référence annuelle : supprimer fonctionnalité

feature/rotating_product
Guillaume Bourgeois 6 months ago
parent
commit
aca03cb146
2 changed files with 6 additions and 3 deletions
  1. +5
    -2
      backend/views/producer/update.php
  2. +1
    -1
      backend/web/js/backend.js

+ 5
- 2
backend/views/producer/update.php View File

@@ -303,11 +303,14 @@ $this->addBreadcrumb($this->getTitle());
<?= $form->field($model, 'option_weeks_distributions_activated_in_advance')
->dropDownList($choicesWeeksDistributionsActivatedInAdvanceArray)
->hint("Attention, les premières semaines doivent être activées manuellement."); ?>
<?= $form->field($model, 'option_order_reference_type')
<?php
// Fonctionnalité désactivée car elle crée des bugs
// @TODO : à réactiver quand tous les problèmes seront résolus
/*$form->field($model, 'option_order_reference_type')
->dropDownList([
Producer::ORDER_REFERENCE_TYPE_NONE => '--',
Producer::ORDER_REFERENCE_TYPE_YEARLY => 'Annuelle',
], []); ?>
], []);*/ ?>
<?= $form->field($model, 'option_behavior_cancel_order')
->dropDownList([
Producer::BEHAVIOR_DELETE_ORDER_DELETE => 'Suppression de la commande',

+ 1
- 1
backend/web/js/backend.js View File

@@ -326,7 +326,7 @@ function opendistrib_products_event_price() {
taxRateSelected = 0;
}
var priceWithTax = $('#product-price-with-tax').val();
if (priceWithTax) {
$('#product-price').val(getPrice(priceWithTax, taxRateSelected));
// formattage

Loading…
Cancel
Save