소스 검색

[Site] Signup : correctif chargement modules payants

feature/souke
Guillaume Bourgeois 1 년 전
부모
커밋
81ca7b5a8a
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. +4
    -0
      frontend/controllers/SiteController.php
  2. +1
    -1
      frontend/views/site/signup.php

+ 4
- 0
frontend/controllers/SiteController.php 파일 보기

@@ -345,10 +345,14 @@ class SiteController extends FrontendController
$dataProducers = $producersArray['data'];
$optionsProducers = $producersArray['options'];


$paidFeaturesArray = $this->getFeatureModule()->getRepository()->findPaidFeatures();

return $this->render('signup', [
'model' => $model,
'dataProducers' => $dataProducers,
'dataProviderPrices' => $this->getDataProviderPrices(),
'paidFeaturesArray' => $paidFeaturesArray,
'optionsProducers' => $optionsProducers,
]);
}

+ 1
- 1
frontend/views/site/signup.php 파일 보기

@@ -141,7 +141,7 @@ $this->params['breadcrumbs'][] = $this->title;
<h4 class="modal-title" id="myModalLabel">Tarifs</h4>
</div>
<div class="modal-body">
<?= $this->render('../site/_prices_producer', ['dataProviderPrices' => $dataProviderPrices]); ?>
<?= $this->render('../site/_prices_producer', ['dataProviderPrices' => $dataProviderPrices, 'paidFeaturesArray' => $paidFeaturesArray]); ?>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Fermer</button>

Loading…
취소
저장