Procházet zdrojové kódy

Merge branch 'develop'

master
Guillaume Bourgeois před 1 rokem
rodič
revize
faf942c35a
2 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. +4
    -0
      frontend/controllers/SiteController.php
  2. +1
    -1
      frontend/views/site/signup.php

+ 4
- 0
frontend/controllers/SiteController.php Zobrazit soubor

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

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

Načítá se…
Zrušit
Uložit