瀏覽代碼

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

feature/rotating_product
Guillaume Bourgeois 4 月之前
父節點
當前提交
aca03cb146
共有 2 個檔案被更改,包括 6 行新增3 行删除
  1. +5
    -2
      backend/views/producer/update.php
  2. +1
    -1
      backend/web/js/backend.js

+ 5
- 2
backend/views/producer/update.php 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存