瀏覽代碼

Utilisation de bon cadeau en compte prépayé

develop
Fab 3 年之前
父節點
當前提交
4a061b9d39
共有 3 個文件被更改,包括 3 次插入1 次删除
  1. +1
    -1
      ShopBundle/Resources/public/js/backend/script/order/vuejs-order.js
  2. +1
    -0
      ShopBundle/Resources/translations/lcshop.fr.yaml
  3. +1
    -0
      ShopBundle/Services/Utils.php

+ 1
- 1
ShopBundle/Resources/public/js/backend/script/order/vuejs-order.js 查看文件

@@ -49,7 +49,7 @@ Vue.component('order-product', {
},
modalAddReductionCredit:function () {
$(this.$parent.$refs['addReductionCreditFormTitle']).val(this.orderProduct.title);
$(this.$parent.$refs['addReductionCreditFormValue']).val(this.orderProduct.price);
$(this.$parent.$refs['addReductionCreditFormValue']).val(this.orderProduct.priceWithTaxAndReduction);
$(this.$parent.$refs['addReductionCreditFormBehaviorTaxRate']).val('tax-included').trigger('change');
$('#modal-add-reduction-credit').modal('show');
}

+ 1
- 0
ShopBundle/Resources/translations/lcshop.fr.yaml 查看文件

@@ -292,6 +292,7 @@ field:
cash: Espèce
transfer: Virement
credit: Compte prépayé
transfer-gift: Transfert de bon cadeau
minimumAmountCb: "Paiement par carte bancaire : montant minimum"
emailFrom: "Email (From) : email"
emailFromName: "Email (From) : nom"

+ 1
- 0
ShopBundle/Services/Utils.php 查看文件

@@ -47,6 +47,7 @@ class Utils
const MEAN_PAYMENT_CREDIT = 'credit';
const MEAN_PAYMENT_TRANSFER = 'transfer';
const MEAN_PAYMENT_CASH = 'cash';
const MEAN_PAYMENT_GIFT = 'transfer-gift';

public function __construct(EntityManagerInterface $em, ParameterBagInterface $parameterBag, SessionInterface $session, TranslatorInterface $translator, ConfigManager $configManager, CacheManager $liipCacheHelper)
{

Loading…
取消
儲存