Преглед на файлове

Merge branch 'develop'

master
Guillaume Bourgeois преди 1 година
родител
ревизия
faf942c35a
променени са 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…
Отказ
Запис