Kaynağa Gözat

Merge branch 'develop'

master
Guillaume Bourgeois 1 yıl önce
ebeveyn
işleme
faf942c35a
2 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. +4
    -0
      frontend/controllers/SiteController.php
  2. +1
    -1
      frontend/views/site/signup.php

+ 4
- 0
frontend/controllers/SiteController.php Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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>

Yükleniyor…
İptal
Kaydet