Kaynağa Gözat

Merge tag 'hotfix_1250_3' into develop

hotfix_1250_3
feature/souke
Guillaume Bourgeois 1 yıl önce
ebeveyn
işleme
7b00f2e25d
2 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. +1
    -0
      backend/controllers/UserController.php
  2. +1
    -1
      common/logic/Payment/Model/CreditHistorySearch.php

+ 1
- 0
backend/controllers/UserController.php Dosyayı Görüntüle

@@ -411,6 +411,7 @@ class UserController extends BackendController
'id_user' => $user->id,
'id_producer' => $this->getProducerCurrent()->id,
])
->andWhere("payment.type = 'initial-credit' OR payment.type = 'credit' OR payment.type = 'debit' OR (payment.type = 'payment' AND payment.mean_payment = 'credit') OR (payment.type = 'refund' AND payment.mean_payment = 'credit')")
->orderBy('date DESC')
->all();


+ 1
- 1
common/logic/Payment/Model/CreditHistorySearch.php Dosyayı Görüntüle

@@ -66,8 +66,8 @@ class CreditHistorySearch extends Payment
->innerJoinWith($optionsSearch['join_with'], true)
->where([
'payment.id_producer' => GlobalParam::getCurrentProducerId(),
//'payment.mean_payment' => MeanPayment::CREDIT
])
->andWhere("payment.type = 'initial-credit' OR payment.type = 'credit' OR payment.type = 'debit' OR (payment.type = 'payment' AND payment.mean_payment = 'credit') OR (payment.type = 'refund' AND payment.mean_payment = 'credit')")
->orderBy('id DESC')
;

Yükleniyor…
İptal
Kaydet