} | } | ||||
/** | /** | ||||
* Retourne l'état du paiement (historique, crédit) d'une commande donnée. | |||||
* Retourne l'état du paiement (historique, cagnotte) d'une commande donnée. | |||||
*/ | */ | ||||
public function actionPaymentStatus(int $idOrder) | public function actionPaymentStatus(int $idOrder) | ||||
{ | { | ||||
if (abs($order->amount - $amountPaid) < 0.0001) { | if (abs($order->amount - $amountPaid) < 0.0001) { | ||||
$html .= '<span class="label label-success">Payé</span>'; | $html .= '<span class="label label-success">Payé</span>'; | ||||
$buttonsCredit = Html::a('Recréditer ' . $orderModule->getOrderAmountWithTax($order, Order::AMOUNT_TOTAL, true), 'javascript:void(0);', ['class' => 'btn btn-default btn-xs rembourser', 'data-montant' => $order->amount, 'data-type' => 'refund']); | |||||
$buttonsCredit = Html::a('Rembourser ' . $orderModule->getOrderAmountWithTax($order, Order::AMOUNT_TOTAL, true), 'javascript:void(0);', ['class' => 'btn btn-default btn-xs rembourser', 'data-montant' => $order->amount, 'data-type' => 'refund']); | |||||
} elseif ($order->amount > $amountPaid) { | } elseif ($order->amount > $amountPaid) { | ||||
$amountToPay = $order->amount - $amountPaid; | $amountToPay = $order->amount - $amountPaid; | ||||
$html .= '<span class="label label-danger">Non payé</span> reste <strong>' . number_format($amountToPay, 2) . ' €</strong> à débiter'; | $html .= '<span class="label label-danger">Non payé</span> reste <strong>' . number_format($amountToPay, 2) . ' €</strong> à débiter'; | ||||
$buttonsCredit = Html::a('Débiter ' . number_format($amountToPay, 2) . ' €', 'javascript:void(0);', ['class' => 'btn btn-default btn-xs payer', 'data-montant' => $amountToPay, 'data-type' => 'payment']); | $buttonsCredit = Html::a('Débiter ' . number_format($amountToPay, 2) . ' €', 'javascript:void(0);', ['class' => 'btn btn-default btn-xs payer', 'data-montant' => $amountToPay, 'data-type' => 'payment']); | ||||
} elseif ($order->amount < $amountPaid) { | } elseif ($order->amount < $amountPaid) { | ||||
$amountToRefund = $amountPaid - $order->amount; | $amountToRefund = $amountPaid - $order->amount; | ||||
$html .= ' <span class="label label-success">Payé</span> <strong>' . number_format($amountToRefund, 2) . ' €</strong> à recréditer'; | |||||
$buttonsCredit = Html::a('Recréditer ' . number_format($amountToRefund, 2) . ' €', 'javascript:void(0);', ['class' => 'btn btn-default btn-xs rembourser', 'data-montant' => $amountToRefund, 'data-type' => 'refund']); | |||||
$html .= ' <span class="label label-success">Payé</span> <strong>' . number_format($amountToRefund, 2) . ' €</strong> à rembourser'; | |||||
$buttonsCredit = Html::a('Rembourser ' . number_format($amountToRefund, 2) . ' €', 'javascript:void(0);', ['class' => 'btn btn-default btn-xs rembourser', 'data-montant' => $amountToRefund, 'data-type' => 'refund']); | |||||
} | } | ||||
$html .= '<span class="buttons-credit">' | $html .= '<span class="buttons-credit">' | ||||
. 'Crédit : <strong>' . number_format($userProducer->credit, 2) . ' €</strong><br />' | |||||
. 'Cagnotte : <strong>' . number_format($userProducer->credit, 2) . ' €</strong><br />' | |||||
. $buttonsCredit | . $buttonsCredit | ||||
. '</span>'; | . '</span>'; | ||||
if ($userProducer) { | if ($userProducer) { | ||||
if ($userProducerModule->hasOutstandingCredit($userProducer)) { | if ($userProducerModule->hasOutstandingCredit($userProducer)) { | ||||
$this->setFlash('error', "Vous ne pouvez pas supprimer cet utilisateur car il a toujours du crédit en cours."); | |||||
$this->setFlash('error', "Vous ne pouvez pas supprimer cet utilisateur car il a toujours de l'argent dans sa cagnotte."); | |||||
} else { | } else { | ||||
$userProducerModule->unlinkUserProducer($userProducer); | $userProducerModule->unlinkUserProducer($userProducer); | ||||
$this->setFlash('success', 'L\'utilisateur a bien été supprimé de votre établissement.'); | $this->setFlash('success', 'L\'utilisateur a bien été supprimé de votre établissement.'); | ||||
} | } | ||||
/** | /** | ||||
* Affiche les données liées au crédit d'un utilisateur (formulaire, historique). | |||||
* Affiche les données liées à la cagnotte d'un utilisateur (formulaire, historique). | |||||
*/ | */ | ||||
public function actionCredit(int $id) | public function actionCredit(int $id) | ||||
{ | { | ||||
} | } | ||||
} | } | ||||
$this->addFlash('success', 'Crédit mis à jour.'); | |||||
$this->addFlash('success', 'Cagnotte mise à jour.'); | |||||
return $this->refresh(); | return $this->refresh(); | ||||
} | } |
CA TTC : <strong>{{ totalActivePointSale() }} €</strong> / Poids : <strong>{{ weightActivePointSale() }} kg</strong> | CA TTC : <strong>{{ totalActivePointSale() }} €</strong> / Poids : <strong>{{ weightActivePointSale() }} kg</strong> | ||||
</div> | </div> | ||||
<div v-if="producer.credit && pointSaleActive"> | <div v-if="producer.credit && pointSaleActive"> | ||||
<span class="title">Crédit</span> | |||||
<span class="title">Cagnotte</span> | |||||
<template v-if="pointSaleActive.credit && pointSaleActive.credit == 1"> | <template v-if="pointSaleActive.credit && pointSaleActive.credit == 1"> | ||||
<template v-if="pointSaleActive.credit_functioning == 'mandatory'">Obligatoire</template> | <template v-if="pointSaleActive.credit_functioning == 'mandatory'">Obligatoire</template> | ||||
<template v-else-if="pointSaleActive.credit_functioning == 'user'">Basé sur l'utilisateur</template> | <template v-else-if="pointSaleActive.credit_functioning == 'user'">Basé sur l'utilisateur</template> | ||||
<th class="column-point-sale" v-if="idActivePointSale == 0">Point de vente</th> | <th class="column-point-sale" v-if="idActivePointSale == 0">Point de vente</th> | ||||
<th class="column-amount">Montant</th> | <th class="column-amount">Montant</th> | ||||
<th class="column-state-payment">Paiement</th> | <th class="column-state-payment">Paiement</th> | ||||
<th class="column-credit" v-if="!idActivePointSale || (pointSaleActive && pointSaleActive.credit == 1)">Crédit</th> | |||||
<th class="column-credit" v-if="!idActivePointSale || (pointSaleActive && pointSaleActive.credit == 1)">Cagnotte</th> | |||||
<th class="column-actions">Actions</th> | <th class="column-actions">Actions</th> | ||||
<th class="column-tiller" v-if="producer && producer.tiller">Tiller</th> | <th class="column-tiller" v-if="producer && producer.tiller">Tiller</th> | ||||
</tr> | </tr> | ||||
<a href="javascript:void(0);" @click="orderPaymentModalClick" :data-id-order="order.id"> | <a href="javascript:void(0);" @click="orderPaymentModalClick" :data-id-order="order.id"> | ||||
<order-state-payment :order="order" :producer="producer"></order-state-payment> | <order-state-payment :order="order" :producer="producer"></order-state-payment> | ||||
</a> | </a> | ||||
<span class="glyphicon glyphicon-time" title="Débit automatique du crédit la veille de la distribution" v-if="order.amount != 0 && order.isCreditAutoPayment && (order.amount_paid == 0 || order.amount_paid < order.amount)"></span> | |||||
<span class="glyphicon glyphicon-time" title="Débit automatique de la cagnotte la veille de la distribution" v-if="order.amount != 0 && order.isCreditAutoPayment && (order.amount_paid == 0 || order.amount_paid < order.amount)"></span> | |||||
</template> | </template> | ||||
</td> | </td> | ||||
<td class="column-credit" v-if="!idActivePointSale || (pointSaleActive && pointSaleActive.credit == 1)"> | <td class="column-credit" v-if="!idActivePointSale || (pointSaleActive && pointSaleActive.credit == 1)"> | ||||
<template v-if="!order.isPaidViaInvoice"> | <template v-if="!order.isPaidViaInvoice"> | ||||
<li v-if="order.isCreditContext"> | <li v-if="order.isCreditContext"> | ||||
<a href="javascript:void(0);" @click="orderPaymentClick" :data-id-order="order.id" :data-type="getTypePayment(order)" data-mean-payment="credit"> | <a href="javascript:void(0);" @click="orderPaymentClick" :data-id-order="order.id" :data-type="getTypePayment(order)" data-mean-payment="credit"> | ||||
<span class="glyphicon glyphicon-piggy-bank"></span> {{ getLabelPaymentRefund(order, 'Débiter', 'Recréditer', 'le crédit') }} | |||||
<span class="glyphicon glyphicon-piggy-bank"></span> {{ getLabelPaymentRefund(order, 'Débiter', 'Recréditer', 'la cagnotte') }} | |||||
</a> | </a> | ||||
</li> | </li> | ||||
<template v-if="(!order.isCreditFunctioningMandatory && !order.isCreditFunctioningUser) || !order.id_user"> | <template v-if="(!order.isCreditFunctioningMandatory && !order.isCreditFunctioningUser) || !order.id_user"> | ||||
<div class="info-box"> | <div class="info-box"> | ||||
<span :class="'info-box-icon ' +((order.user.credit > 0) ? 'bg-green' : 'bg-red')"><i class="fa fa-user"></i></span> | <span :class="'info-box-icon ' +((order.user.credit > 0) ? 'bg-green' : 'bg-red')"><i class="fa fa-user"></i></span> | ||||
<div class="info-box-content"> | <div class="info-box-content"> | ||||
<span class="info-box-text">Crédit utilisateur</span> | |||||
<span class="info-box-text">Cagnotte</span> | |||||
<span class="info-box-number"> | <span class="info-box-number"> | ||||
{{ order.user.credit.toFixed(2).replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+' €' }} | {{ order.user.credit.toFixed(2).replace(/(\d)(?=(\d{3})+(?:\.\d+)?$)/g, "$1,")+' €' }} | ||||
</span> | </span> | ||||
</div> | </div> | ||||
<div class="form-group" v-if="isPointSaleCreditFunctioningOptional(order.id_point_sale)"> | <div class="form-group" v-if="isPointSaleCreditFunctioningOptional(order.id_point_sale)"> | ||||
<input type="checkbox" id="debit-credit" v-model="order.debitCredit" /> | <input type="checkbox" id="debit-credit" v-model="order.debitCredit" /> | ||||
<label class="control-label" for="debit-credit">Débiter le crédit</label> | |||||
<label class="control-label" for="debit-credit">Débiter la cagnotte</label> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="col-md-8"> | <div class="col-md-8"> |
<div class="panel-heading"> | <div class="panel-heading"> | ||||
<h3 class="panel-title"> | <h3 class="panel-title"> | ||||
<span class="glyphicon glyphicon-piggy-bank"></span> | <span class="glyphicon glyphicon-piggy-bank"></span> | ||||
Crédit | |||||
Cagnotte | |||||
</h3> | </h3> | ||||
</div> | </div> | ||||
<div class="panel-body"> | <div class="panel-body"> | ||||
<?php | <?php | ||||
$addHintCredit = ''; | $addHintCredit = ''; | ||||
if (!$producerModule->getConfig('credit')): | if (!$producerModule->getConfig('credit')): | ||||
$addHintCredit = '<br /><strong>Attention, le système de Crédit est désactivé au niveau des ' . Html::a('paramètres globaux', ['producer/update']) . '.</strong>'; | |||||
$addHintCredit = '<br /><strong>Attention, le système de cagnotte est désactivé au niveau des ' . Html::a('paramètres globaux', ['producer/update']) . '.</strong>'; | |||||
endif; | endif; | ||||
echo $form->field($model, 'credit')->widget(Toggle::class, | echo $form->field($model, 'credit')->widget(Toggle::class, | ||||
'data-off' => 'Non', | 'data-off' => 'Non', | ||||
], | ], | ||||
] | ] | ||||
)->hint('Activez cette option si vous souhaitez que vos clients puissent régler leurs commandes via leur compte <strong>Crédit</strong> pour ce point de vente.' | |||||
)->hint('Activez cette option si vous souhaitez que vos clients puissent régler leurs commandes via leur cagnotte pour ce point de vente.' | |||||
. $addHintCredit); ?> | . $addHintCredit); ?> | ||||
<?= $form->field($model, 'credit_functioning') | <?= $form->field($model, 'credit_functioning') |
<h4>Cagnotte</h4> | <h4>Cagnotte</h4> | ||||
<?= $form->field($model, 'credit') | <?= $form->field($model, 'credit') | ||||
->dropDownList(Dropdown::noYesChoices()) | ->dropDownList(Dropdown::noYesChoices()) | ||||
->label('Activer le système de Crédit') | |||||
->hint('Le système de Crédit permet à vos clients d\'avoir un compte prépayé sur le site <em>distrib</em>.<br />' | |||||
. 'Ils créditent leur compte en vous donnant la somme de leur choix et c\'est ensuite à vous de ' . Html::a('mettre à jour', ['user/index']) . ' leur Crédit en ligne.<br />' | |||||
. 'Ceci fait, les clients paient leur commande directement via leur Crédit.'); ?> | |||||
->label('Activer le système de cagnotte') | |||||
->hint('Le système de cagnotte permet à vos clients d\'avoir un compte prépayé sur le site <em>Souke</em>.<br />' | |||||
. 'Ils créditent leur compte en vous donnant la somme de leur choix et c\'est ensuite à vous de ' . Html::a('mettre à jour', ['user/index']) . ' leur cagnotte en ligne.<br />' | |||||
. 'Ceci fait, les clients paient leur commande directement via leur cagnotte.'); ?> | |||||
<?= $form->field($model, 'credit_functioning') | <?= $form->field($model, 'credit_functioning') | ||||
->dropDownList([ | ->dropDownList([ | ||||
<?= $form->field($model, 'use_credit_checked_default') | <?= $form->field($model, 'use_credit_checked_default') | ||||
->dropDownList(Dropdown::noYesChoices()) | ->dropDownList(Dropdown::noYesChoices()) | ||||
->hint('Utilisation optionnelle du Crédit.'); ?> | |||||
->hint('Utilisation optionnelle de la cagnotte.'); ?> | |||||
<?= $form->field($model, 'credit_limit_reminder', [ | <?= $form->field($model, 'credit_limit_reminder', [ | ||||
'template' => '{label}<div class="input-group">{input}<span class="input-group-addon"><span class="glyphicon glyphicon-euro"></span></span></div>{hint}', | 'template' => '{label}<div class="input-group">{input}<span class="input-group-addon"><span class="glyphicon glyphicon-euro"></span></span></div>{hint}', | ||||
<?= $form->field($model, 'credit_limit', [ | <?= $form->field($model, 'credit_limit', [ | ||||
'template' => '{label}<div class="input-group">{input}<span class="input-group-addon"><span class="glyphicon glyphicon-euro"></span></span></div>{hint}', | 'template' => '{label}<div class="input-group">{input}<span class="input-group-addon"><span class="glyphicon glyphicon-euro"></span></span></div>{hint}', | ||||
])->hint('Limite de crédit que l\'utilisateur ne pourra pas dépasser. Laisser vide pour permettre un crédit négatif et infini.'); ?> | |||||
])->hint('Limite de cagnotte que l\'utilisateur ne pourra pas dépasser. Laisser vide pour permettre un montant de cagnotte négatif et infini.'); ?> | |||||
<?= $form->field($model, 'option_check_by_default_prevent_user_credit') | <?= $form->field($model, 'option_check_by_default_prevent_user_credit') | ||||
->dropDownList(Dropdown::noYesChoices()); ?> | ->dropDownList(Dropdown::noYesChoices()); ?> | ||||
<?= $form->field($model, 'option_stripe_mode_test')->dropDownList(Dropdown::noYesChoices()); ?> | <?= $form->field($model, 'option_stripe_mode_test')->dropDownList(Dropdown::noYesChoices()); ?> | ||||
<?= $form->field($model, 'option_online_payment_type') | <?= $form->field($model, 'option_online_payment_type') | ||||
->dropDownList([ | ->dropDownList([ | ||||
'credit' => 'Alimentation du crédit', | |||||
'credit' => 'Alimentation de la cagnotte', | |||||
'order' => 'Paiement à la commande', | 'order' => 'Paiement à la commande', | ||||
], []); ?> | ], []); ?> | ||||
<?= $form->field($model, 'option_stripe_public_key')->textInput(); ?> | <?= $form->field($model, 'option_stripe_public_key')->textInput(); ?> |
<div class="panel-heading"> | <div class="panel-heading"> | ||||
<h3 class="panel-title"> | <h3 class="panel-title"> | ||||
<span class="glyphicon glyphicon-piggy-bank"></span> | <span class="glyphicon glyphicon-piggy-bank"></span> | ||||
Crédit | |||||
Cagnotte | |||||
</h3> | </h3> | ||||
</div> | </div> | ||||
<div class="panel-body"> | <div class="panel-body"> |
<div class="panel-heading"> | <div class="panel-heading"> | ||||
<h3 class="panel-title"> | <h3 class="panel-title"> | ||||
<i class="glyphicon glyphicon-piggy-bank"></i> | <i class="glyphicon glyphicon-piggy-bank"></i> | ||||
Crédit | |||||
Cagnotte | |||||
<a class="btn btn-default btn-xs" href="<?= Yii::$app->urlManager->createUrl(['user/credit','id' => $model->id]) ?>"> | <a class="btn btn-default btn-xs" href="<?= Yii::$app->urlManager->createUrl(['user/credit','id' => $model->id]) ?>"> | ||||
<span class="glyphicon glyphicon-euro"></span> | <span class="glyphicon glyphicon-euro"></span> | ||||
Voir / créditer | Voir / créditer |
padding: 5px 15px ; | padding: 5px 15px ; | ||||
color: gray ; | color: gray ; | ||||
border-top: dotted 1px #e0e0e0 ; | border-top: dotted 1px #e0e0e0 ; | ||||
text-align: center ; | |||||
text-align: left; | |||||
} | } | ||||
#link-distrib img { | #link-distrib img { | ||||
</div> | </div> | ||||
<div id="footer"> | <div id="footer"> | ||||
<a href="https://www.souke.fr/">Souke</a> | <a href="https://www.souke.fr/">Souke</a> | ||||
<div class="baseline">Plateforme de gestion de commandes</div> | |||||
</div> | </div> | ||||
<?php $this->endBody() ?> | <?php $this->endBody() ?> | ||||
</body> | </body> |
<?= $content ?> | <?= $content ?> | ||||
-- | -- | ||||
Souke | Plateforme de gestion de commandes | |||||
Souke | |||||
https://www.souke.fr/ | https://www.souke.fr/ | ||||
<?php $this->endBody() ?> | <?php $this->endBody() ?> | ||||
<?php $this->endPage() ?> | <?php $this->endPage() ?> |
border: solid 1px #b7ab9b; | border: solid 1px #b7ab9b; | ||||
} | } | ||||
/* line 156, ../sass/_common.scss */ | /* line 156, ../sass/_common.scss */ | ||||
#main form .form-control { | |||||
-moz-appearance: auto; | |||||
-webkit-appearance: auto; | |||||
} | |||||
/* line 160, ../sass/_common.scss */ | |||||
#main form .form-control:hover { | #main form .form-control:hover { | ||||
border: solid 1px gray; | border: solid 1px gray; | ||||
} | } | ||||
/* line 160, ../sass/_common.scss */ | |||||
/* line 164, ../sass/_common.scss */ | |||||
#main form .form-control:focus { | #main form .form-control:focus { | ||||
-moz-box-shadow: 0px 0px 0px 1px #ee6f42; | -moz-box-shadow: 0px 0px 0px 1px #ee6f42; | ||||
-webkit-box-shadow: 0px 0px 0px 1px #ee6f42; | -webkit-box-shadow: 0px 0px 0px 1px #ee6f42; | ||||
box-shadow: 0px 0px 0px 1px #ee6f42; | box-shadow: 0px 0px 0px 1px #ee6f42; | ||||
border: solid 1px #ee6f42; | border: solid 1px #ee6f42; | ||||
} | } | ||||
/* line 166, ../sass/_common.scss */ | |||||
/* line 170, ../sass/_common.scss */ | |||||
#main form .has-error .control-label { | #main form .has-error .control-label { | ||||
color: black; | color: black; | ||||
} | } | ||||
/* line 170, ../sass/_common.scss */ | |||||
/* line 174, ../sass/_common.scss */ | |||||
#main form .has-error .form-control:focus, #main form .has-error .form-control { | #main form .has-error .form-control:focus, #main form .has-error .form-control { | ||||
-moz-box-shadow: none; | -moz-box-shadow: none; | ||||
-webkit-box-shadow: none; | -webkit-box-shadow: none; | ||||
box-shadow: none; | box-shadow: none; | ||||
border-color: #a94442; | border-color: #a94442; | ||||
} | } | ||||
/* line 175, ../sass/_common.scss */ | |||||
/* line 179, ../sass/_common.scss */ | |||||
#main form .has-error .help-block-error { | #main form .has-error .help-block-error { | ||||
color: #a94442; | color: #a94442; | ||||
} | } | ||||
/* line 180, ../sass/_common.scss */ | |||||
/* line 184, ../sass/_common.scss */ | |||||
#main form .form-buttons { | #main form .form-buttons { | ||||
text-align: right; | text-align: right; | ||||
} | } | ||||
/* Divers */ | /* Divers */ | ||||
/* line 187, ../sass/_common.scss */ | |||||
/* line 191, ../sass/_common.scss */ | |||||
.float-left { | .float-left { | ||||
float: left; | float: left; | ||||
} | } | ||||
/* line 191, ../sass/_common.scss */ | |||||
/* line 195, ../sass/_common.scss */ | |||||
.float-right { | .float-right { | ||||
float: right; | float: right; | ||||
} | } | ||||
/* line 195, ../sass/_common.scss */ | |||||
/* line 199, ../sass/_common.scss */ | |||||
.clr { | .clr { | ||||
clear: both; | clear: both; | ||||
} | } | ||||
/* Navigation utilisateur en haut du site */ | /* Navigation utilisateur en haut du site */ | ||||
/* line 200, ../sass/_common.scss */ | |||||
/* line 204, ../sass/_common.scss */ | |||||
.container-nav-user-top { | .container-nav-user-top { | ||||
position: relative; | position: relative; | ||||
z-index: 999; | z-index: 999; | ||||
background-color: white; | background-color: white; | ||||
} | } | ||||
/* line 205, ../sass/_common.scss */ | |||||
/* line 209, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top { | .container-nav-user-top .nav-user-top { | ||||
position: absolute; | position: absolute; | ||||
top: 0px; | top: 0px; | ||||
background-color: white; | background-color: white; | ||||
z-index: 100; | z-index: 100; | ||||
} | } | ||||
/* line 212, ../sass/_common.scss */ | |||||
/* line 216, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .navbar { | .container-nav-user-top .nav-user-top .navbar { | ||||
-moz-border-radius: 0px; | -moz-border-radius: 0px; | ||||
-webkit-border-radius: 0px; | -webkit-border-radius: 0px; | ||||
margin: 0px; | margin: 0px; | ||||
min-height: 0px; | min-height: 0px; | ||||
} | } | ||||
/* line 219, ../sass/_common.scss */ | |||||
/* line 223, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .navbar ul { | .container-nav-user-top .nav-user-top .navbar ul { | ||||
position: relative; | position: relative; | ||||
left: -10px; | left: -10px; | ||||
} | } | ||||
/* line 223, ../sass/_common.scss */ | |||||
/* line 227, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .navbar ul li { | .container-nav-user-top .nav-user-top .navbar ul li { | ||||
padding-left: 5px; | padding-left: 5px; | ||||
} | } | ||||
/* line 226, ../sass/_common.scss */ | |||||
/* line 230, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .navbar ul li a.nav-link { | .container-nav-user-top .nav-user-top .navbar ul li a.nav-link { | ||||
padding-left: 10px; | padding-left: 10px; | ||||
padding-right: 10px; | padding-right: 10px; | ||||
color: black; | color: black; | ||||
font-size: 16px; | font-size: 16px; | ||||
} | } | ||||
/* line 235, ../sass/_common.scss */ | |||||
/* line 239, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .navbar ul li a.nav-link:hover, .container-nav-user-top .nav-user-top .navbar ul li a.nav-link:focus, .container-nav-user-top .nav-user-top .navbar ul li a.nav-link.active { | .container-nav-user-top .nav-user-top .navbar ul li a.nav-link:hover, .container-nav-user-top .nav-user-top .navbar ul li a.nav-link:focus, .container-nav-user-top .nav-user-top .navbar ul li a.nav-link.active { | ||||
background: none; | background: none; | ||||
color: #ee6f42; | color: #ee6f42; | ||||
} | } | ||||
/* line 240, ../sass/_common.scss */ | |||||
/* line 244, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .navbar ul li a.nav-link .bi { | .container-nav-user-top .nav-user-top .navbar ul li a.nav-link .bi { | ||||
color: #ee6f42; | color: #ee6f42; | ||||
font-size: 16px; | font-size: 16px; | ||||
position: relative; | position: relative; | ||||
top: 1px; | top: 1px; | ||||
} | } | ||||
/* line 250, ../sass/_common.scss */ | |||||
/* line 254, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .navbar ul li .dropdown-menu a { | .container-nav-user-top .nav-user-top .navbar ul li .dropdown-menu a { | ||||
padding: 2px 20px; | padding: 2px 20px; | ||||
} | } | ||||
/* line 253, ../sass/_common.scss */ | |||||
/* line 257, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .navbar ul li .dropdown-menu a:hover, .container-nav-user-top .nav-user-top .navbar ul li .dropdown-menu a:focus { | .container-nav-user-top .nav-user-top .navbar ul li .dropdown-menu a:hover, .container-nav-user-top .nav-user-top .navbar ul li .dropdown-menu a:focus { | ||||
background-color: #ece4d8; | background-color: #ece4d8; | ||||
} | } | ||||
/* line 262, ../sass/_common.scss */ | |||||
/* line 266, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .dropdown-menu { | .container-nav-user-top .nav-user-top .dropdown-menu { | ||||
z-index: 9999; | z-index: 9999; | ||||
} | } | ||||
/* line 264, ../sass/_common.scss */ | |||||
/* line 268, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .dropdown-menu .divider.dropdown-header { | .container-nav-user-top .nav-user-top .dropdown-menu .divider.dropdown-header { | ||||
padding: 0px; | padding: 0px; | ||||
} | } | ||||
@media screen and (max-width: 991px) { | @media screen and (max-width: 991px) { | ||||
/* line 277, ../sass/_common.scss */ | |||||
/* line 279, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top { | .container-nav-user-top .nav-user-top { | ||||
position: relative; | position: relative; | ||||
} | } | ||||
/* line 281, ../sass/_common.scss */ | |||||
/* line 283, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .navbar ul { | .container-nav-user-top .nav-user-top .navbar ul { | ||||
width: 100%; | width: 100%; | ||||
display: block; | display: block; | ||||
margin-right: 0px; | margin-right: 0px; | ||||
text-align: center; | text-align: center; | ||||
} | } | ||||
/* line 287, ../sass/_common.scss */ | |||||
/* line 289, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .navbar ul li { | .container-nav-user-top .nav-user-top .navbar ul li { | ||||
display: inline-block; | display: inline-block; | ||||
} | } | ||||
/* line 291, ../sass/_common.scss */ | |||||
/* line 293, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .navbar ul li.nav-item-producers .dropdown-menu { | .container-nav-user-top .nav-user-top .navbar ul li.nav-item-producers .dropdown-menu { | ||||
right: -95px; | right: -95px; | ||||
} | } | ||||
/* line 298, ../sass/_common.scss */ | |||||
/* line 300, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .navbar .link-text { | .container-nav-user-top .nav-user-top .navbar .link-text { | ||||
display: none; | display: none; | ||||
} | } | ||||
/* line 302, ../sass/_common.scss */ | |||||
/* line 304, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .navbar .dropdown-menu { | .container-nav-user-top .nav-user-top .navbar .dropdown-menu { | ||||
position: absolute; | position: absolute; | ||||
right: 5%; | right: 5%; | ||||
-webkit-box-shadow: 0px 0px 4px gray; | -webkit-box-shadow: 0px 0px 4px gray; | ||||
box-shadow: 0px 0px 4px gray; | box-shadow: 0px 0px 4px gray; | ||||
} | } | ||||
/* line 311, ../sass/_common.scss */ | |||||
/* line 313, ../sass/_common.scss */ | |||||
.container-nav-user-top .nav-user-top .navbar .dropdown-menu li a { | .container-nav-user-top .nav-user-top .navbar .dropdown-menu li a { | ||||
padding-left: 15px; | padding-left: 15px; | ||||
} | } | ||||
} | } | ||||
/* Block de date */ | /* Block de date */ | ||||
/* line 324, ../sass/_common.scss */ | |||||
/* line 326, ../sass/_common.scss */ | |||||
.block-date { | .block-date { | ||||
margin: 0px auto; | margin: 0px auto; | ||||
padding-top: 0px; | padding-top: 0px; | ||||
text-align: center; | text-align: center; | ||||
} | } | ||||
/* line 329, ../sass/_common.scss */ | |||||
/* line 331, ../sass/_common.scss */ | |||||
.block-date .day { | .block-date .day { | ||||
text-transform: capitalize; | text-transform: capitalize; | ||||
line-height: 15px; | line-height: 15px; | ||||
font-size: 15px; | font-size: 15px; | ||||
text-transform: uppercase; | text-transform: uppercase; | ||||
} | } | ||||
/* line 336, ../sass/_common.scss */ | |||||
/* line 338, ../sass/_common.scss */ | |||||
.block-date .num { | .block-date .num { | ||||
font-size: 30px; | font-size: 30px; | ||||
line-height: 35px; | line-height: 35px; | ||||
font-weight: bold; | font-weight: bold; | ||||
} | } | ||||
/* line 342, ../sass/_common.scss */ | |||||
/* line 344, ../sass/_common.scss */ | |||||
.block-date .month { | .block-date .month { | ||||
text-transform: uppercase; | text-transform: uppercase; | ||||
line-height: 15px; | line-height: 15px; | ||||
} | } | ||||
/* Page d'erreur */ | /* Page d'erreur */ | ||||
/* line 352, ../sass/_common.scss */ | |||||
/* line 354, ../sass/_common.scss */ | |||||
#main #content .site-error .col-lg-6 { | #main #content .site-error .col-lg-6 { | ||||
margin: 0px auto; | margin: 0px auto; | ||||
float: none; | float: none; | ||||
} | } | ||||
/* line 362, ../sass/_common.scss */ | |||||
/* line 364, ../sass/_common.scss */ | |||||
#main #content .site-error .panel h2 { | #main #content .site-error .panel h2 { | ||||
text-transform: none; | text-transform: none; | ||||
font-size: 25px; | font-size: 25px; | ||||
margin-top: 0px; | margin-top: 0px; | ||||
margin-bottom: 20px; | margin-bottom: 20px; | ||||
} | } | ||||
/* line 369, ../sass/_common.scss */ | |||||
/* line 371, ../sass/_common.scss */ | |||||
#main #content .site-error .panel p:last-child { | #main #content .site-error .panel p:last-child { | ||||
margin-bottom: 0px; | margin-bottom: 0px; | ||||
padding-bottom: 0px; | padding-bottom: 0px; | ||||
} | } | ||||
/* line 375, ../sass/_common.scss */ | |||||
/* line 377, ../sass/_common.scss */ | |||||
#main #content .site-error .alert { | #main #content .site-error .alert { | ||||
padding-bottom: 5px; | padding-bottom: 5px; | ||||
} | } | ||||
/* line 378, ../sass/_common.scss */ | |||||
/* line 380, ../sass/_common.scss */ | |||||
#main #content .site-error .alert h3 { | #main #content .site-error .alert h3 { | ||||
margin-top: 5px; | margin-top: 5px; | ||||
margin-bottom: 18px; | margin-bottom: 18px; | ||||
} | } | ||||
/* line 383, ../sass/_common.scss */ | |||||
/* line 385, ../sass/_common.scss */ | |||||
#main #content .site-error .alert p { | #main #content .site-error .alert p { | ||||
margin-bottom: 15px; | margin-bottom: 15px; | ||||
} | } | ||||
/* line 387, ../sass/_common.scss */ | |||||
/* line 389, ../sass/_common.scss */ | |||||
#main #content .site-error .alert .btn { | #main #content .site-error .alert .btn { | ||||
text-decoration: none; | text-decoration: none; | ||||
} | } | ||||
/* line 392, ../sass/_common.scss */ | |||||
/* line 394, ../sass/_common.scss */ | |||||
#main #content .site-error p.error-message { | #main #content .site-error p.error-message { | ||||
font-weight: bold; | font-weight: bold; | ||||
} | } | ||||
/* Paiement */ | /* Paiement */ | ||||
/* line 398, ../sass/_common.scss */ | |||||
/* line 400, ../sass/_common.scss */ | |||||
.payment-detail-remaining-surplus { | .payment-detail-remaining-surplus { | ||||
font-size: 13px; | font-size: 13px; | ||||
color: gray; | color: gray; | ||||
} | } | ||||
/* line 402, ../sass/_common.scss */ | |||||
/* line 404, ../sass/_common.scss */ | |||||
.payment-detail-remaining-surplus strong { | .payment-detail-remaining-surplus strong { | ||||
font-weight: bold; | font-weight: bold; | ||||
} | } |
border: solid 1px $color-gray-dark; | border: solid 1px $color-gray-dark; | ||||
} | } | ||||
.form-control { | |||||
@include appearance(auto); | |||||
} | |||||
.form-control:hover { | .form-control:hover { | ||||
border: solid 1px gray; | border: solid 1px gray; | ||||
} | } | ||||
@media screen and (max-width: 991px) { | @media screen and (max-width: 991px) { | ||||
.container-nav-user-top { | .container-nav-user-top { | ||||
.nav-user-top { | .nav-user-top { | ||||
position: relative; | position: relative; | ||||
'export_shopping_cart_labels_format' => 'Étiquettes (PDF) : format', | 'export_shopping_cart_labels_format' => 'Étiquettes (PDF) : format', | ||||
'option_document_display_price_unit_reference' => "Afficher les prix au kilogramme", | 'option_document_display_price_unit_reference' => "Afficher les prix au kilogramme", | ||||
'id_user_group_default' => "Groupe utilisateur par défaut attribué à l'inscription", | 'id_user_group_default' => "Groupe utilisateur par défaut attribué à l'inscription", | ||||
'option_check_by_default_prevent_user_credit' => "Par défaut, prévenir l'utilisateur quand on crédite son compte", | |||||
'option_check_by_default_prevent_user_credit' => "Par défaut, prévenir l'utilisateur quand on crédite sa cagnotte", | |||||
'delivery_note_automatic_validation' => 'Validation automatique des bons de livraison', | 'delivery_note_automatic_validation' => 'Validation automatique des bons de livraison', | ||||
'website' => 'Site web', | 'website' => 'Site web', | ||||
'option_leave_period_start' => 'Prochains congés : date de début', | 'option_leave_period_start' => 'Prochains congés : date de début', |
/** | /** | ||||
* Affiche la page d'inscription et traite son formulaire. | * Affiche la page d'inscription et traite son formulaire. | ||||
*/ | */ | ||||
public function actionSignup() | |||||
public function actionSignup(string $type = 'user') | |||||
{ | { | ||||
$model = new SignupForm(); | $model = new SignupForm(); | ||||
$model->option_user_producer = $type; | |||||
$producerModule = $this->getProducerModule(); | $producerModule = $this->getProducerModule(); | ||||
if ($model->load(Yii::$app->request->post())) { | if ($model->load(Yii::$app->request->post())) { |
<?php if($producerManager->isProducerSignupOpen()): ?> | <?php if($producerManager->isProducerSignupOpen()): ?> | ||||
<?php if(Yii::$app->user->isGuest || $userModule->getSolver()->isStatusUser($userCurrent)): ?> | <?php if(Yii::$app->user->isGuest || $userModule->getSolver()->isStatusUser($userCurrent)): ?> | ||||
<a class="btn btn-primary" | <a class="btn btn-primary" | ||||
href="<?= Yii::$app->user->isGuest ? \Yii::$app->urlManagerFrontend->createUrl(['site/signup']) : \Yii::$app->urlManagerFrontend->createUrl(['site/signup-producer']); ?>"> | |||||
href="<?= Yii::$app->user->isGuest ? \Yii::$app->urlManagerFrontend->createUrl(['site/signup', 'type' => 'producer']) : \Yii::$app->urlManagerFrontend->createUrl(['site/signup-producer']); ?>"> | |||||
<i class="bi bi-shop"></i> Je crée mon espace producteur | <i class="bi bi-shop"></i> Je crée mon espace producteur | ||||
</a><br /> | </a><br /> | ||||
<?php if($producerManager->getMaximumNumberProducers()): ?> | <?php if($producerManager->getMaximumNumberProducers()): ?> | ||||
<strong><?= ($producerSignupRemainingPlaces); ?></strong> | <strong><?= ($producerSignupRemainingPlaces); ?></strong> | ||||
place<?php if($producerSignupRemainingPlaces > 1): ?>s<?php endif; ?> restante<?php if($producerSignupRemainingPlaces > 1): ?>s<?php endif; ?> | place<?php if($producerSignupRemainingPlaces > 1): ?>s<?php endif; ?> restante<?php if($producerSignupRemainingPlaces > 1): ?>s<?php endif; ?> | ||||
<?php endif; ?> | <?php endif; ?> | ||||
<br /> | <br /> | ||||
<br /> | <br /> | ||||
<?php endif; ?> | <?php endif; ?> |
<h2>7. Paiement des commandes</h2> | <h2>7. Paiement des commandes</h2> | ||||
<p>Le Site permet, si le Producteur active cette option, de réaliser des transactions | <p>Le Site permet, si le Producteur active cette option, de réaliser des transactions | ||||
monétaires entre les utilisateurs et les Producteurs. Cette transaction vient | monétaires entre les utilisateurs et les Producteurs. Cette transaction vient | ||||
alimenter un crédit disponible sur le Site qui sera ensuite débité à chaque | |||||
alimenter une cagnotte disponible sur le Site qui sera ensuite débité à chaque | |||||
commande.<br> | commande.<br> | ||||
Pour toutes les commandes non payées via le système de crédit, elles seront à | |||||
Pour toutes les commandes non payées via le système de cagnotte, elles seront à | |||||
régler directement auprès du Producteur lors de la réception des produits commandés | régler directement auprès du Producteur lors de la réception des produits commandés | ||||
par l’Utilisateur. | par l’Utilisateur. | ||||
</p> | </p> |
termes. | termes. | ||||
*/ | */ | ||||
$this->setTitle('Crédit') ; | |||||
$this->setMeta('description','Présentation de la fonctionnalité "Crédit" de la plateforme.') ; | |||||
$this->setTitle('Cagnotte') ; | |||||
$this->setMeta('description','Présentation de la fonctionnalité "Cagnotte" de la plateforme.') ; | |||||
?> | ?> | ||||
/* @var $model \frontend\models\PasswordResetRequestForm */ | /* @var $model \frontend\models\PasswordResetRequestForm */ | ||||
$this->setTitle('Mot de passe oublié') ; | $this->setTitle('Mot de passe oublié') ; | ||||
$this->setIcon('question-sign'); | |||||
$this->setMeta('description', 'Vous avez oublié votre mot de passe ?'); | $this->setMeta('description', 'Vous avez oublié votre mot de passe ?'); | ||||
$this->params['breadcrumbs'][] = $this->title; | $this->params['breadcrumbs'][] = $this->title; | ||||
?> | ?> | ||||
<div class="site-request-password-reset"> | <div class="site-request-password-reset"> | ||||
<div class="panel panel-default"> | |||||
<div class="panel-body"> | |||||
<div class="alert alert-warning">Renseignez votre adresse email, nous vous transmettrons un lien vous permettant de réinitialiser votre mot de passe.</div> | |||||
<div class="row"> | |||||
<div class="col-lg-5"> | |||||
<?php $form = ActiveForm::begin(['id' => 'request-password-reset-form']); ?> | |||||
<?= $form->field($model, 'email') ?> | |||||
<div class="form-group"> | |||||
<?= Html::submitButton('Envoyer', ['class' => 'btn btn-primary']) ?> | |||||
</div> | |||||
<?php ActiveForm::end(); ?> | |||||
<div class="row"> | |||||
<div class="col-lg-6"> | |||||
<div class="panel panel-default"> | |||||
<div class="panel-body"> | |||||
<div class="alert alert-warning">Renseignez votre adresse email, nous vous transmettrons un lien vous permettant de réinitialiser votre mot de passe.</div> | |||||
<?php $form = ActiveForm::begin(['id' => 'request-password-reset-form']); ?> | |||||
<?= $form->field($model, 'email') ?> | |||||
<div class="form-group form-buttons"> | |||||
<?= Html::submitButton('Envoyer', ['class' => 'btn btn-primary']) ?> | |||||
</div> | |||||
<?php ActiveForm::end(); ?> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> |
<?= block_feature("people", "Gestion des clients."); ?> | <?= block_feature("people", "Gestion des clients."); ?> | ||||
</div> | </div> | ||||
<div class="row"> | <div class="row"> | ||||
<?= block_feature("currency-euro", "Système de crédit (ou cagnotte) permettant la comptabilisation des paiements."); ?> | |||||
<?= block_feature("credit-card", "Paiement en ligne possible via la plateforme <strong>Stripe</strong> pour que les clients puissent alimenter leur crédit de manière autonome."); ?> | |||||
<?= block_feature("piggy-bank", "Système de cagnotte permettant la comptabilisation des paiements."); ?> | |||||
<?= block_feature("credit-card", "Paiement en ligne possible via la plateforme <strong>Stripe</strong> pour que les clients puissent alimenter leur cagnotte de manière autonome."); ?> | |||||
</div> | </div> | ||||
<div class="row"> | <div class="row"> | ||||
<?= block_feature("megaphone", "Communication facilitée avec les clients via l'envoi d'emails en masse."); ?> | <?= block_feature("megaphone", "Communication facilitée avec les clients via l'envoi d'emails en masse."); ?> |
-moz-border-radius: 0px; | -moz-border-radius: 0px; | ||||
-webkit-border-radius: 0px; | -webkit-border-radius: 0px; | ||||
border-radius: 0px; | border-radius: 0px; | ||||
line-height: 1.2rem; | |||||
font-size: 1.2rem; | |||||
padding: 10px 20px; | |||||
color: black; | |||||
} | } | ||||
/* line 745, ../sass/screen.scss */ | |||||
/* line 749, ../sass/screen.scss */ | |||||
.site-producers #producers-list #producer-search .form-control:focus { | .site-producers #producers-list #producer-search .form-control:focus { | ||||
-moz-box-shadow: none !important; | -moz-box-shadow: none !important; | ||||
-webkit-box-shadow: none !important; | -webkit-box-shadow: none !important; | ||||
box-shadow: none !important; | box-shadow: none !important; | ||||
} | } | ||||
/* line 751, ../sass/screen.scss */ | |||||
/* line 753, ../sass/screen.scss */ | |||||
.site-producers #producers-list #producer-search .form-control::placeholder { | |||||
color: gray; | |||||
} | |||||
/* line 759, ../sass/screen.scss */ | |||||
.site-producers #producers-list .alert-no-results { | .site-producers #producers-list .alert-no-results { | ||||
display: none; | display: none; | ||||
} | } | ||||
/* line 755, ../sass/screen.scss */ | |||||
/* line 763, ../sass/screen.scss */ | |||||
.site-producers #producers-list .panel { | .site-producers #producers-list .panel { | ||||
margin-bottom: 40px; | margin-bottom: 40px; | ||||
} | } | ||||
/* line 758, ../sass/screen.scss */ | |||||
/* line 766, ../sass/screen.scss */ | |||||
.site-producers #producers-list .panel .panel-body { | .site-producers #producers-list .panel .panel-body { | ||||
border: 0px none; | border: 0px none; | ||||
overflow: hidden; | overflow: hidden; | ||||
} | } | ||||
/* line 762, ../sass/screen.scss */ | |||||
/* line 770, ../sass/screen.scss */ | |||||
.site-producers #producers-list .panel .panel-body h2 { | .site-producers #producers-list .panel .panel-body h2 { | ||||
margin-top: 0px; | margin-top: 0px; | ||||
margin-bottom: 10px; | margin-bottom: 10px; | ||||
padding-bottom: 0px; | padding-bottom: 0px; | ||||
} | } | ||||
/* line 767, ../sass/screen.scss */ | |||||
/* line 775, ../sass/screen.scss */ | |||||
.site-producers #producers-list .panel .panel-body h2 a.producer-link { | .site-producers #producers-list .panel .panel-body h2 a.producer-link { | ||||
color: #e4ac07; | color: #e4ac07; | ||||
text-decoration: none; | text-decoration: none; | ||||
} | } | ||||
/* line 772, ../sass/screen.scss */ | |||||
/* line 780, ../sass/screen.scss */ | |||||
.site-producers #producers-list .panel .panel-body h2 .btn-bookmark { | .site-producers #producers-list .panel .panel-body h2 .btn-bookmark { | ||||
position: relative; | position: relative; | ||||
top: 0px; | top: 0px; | ||||
font-size: 1.3rem; | font-size: 1.3rem; | ||||
color: gray; | color: gray; | ||||
} | } | ||||
/* line 780, ../sass/screen.scss */ | |||||
/* line 788, ../sass/screen.scss */ | |||||
.site-producers #producers-list .panel .panel-body p { | .site-producers #producers-list .panel .panel-body p { | ||||
padding-bottom: 0px; | padding-bottom: 0px; | ||||
} | } | ||||
/* line 784, ../sass/screen.scss */ | |||||
/* line 792, ../sass/screen.scss */ | |||||
.site-producers #producers-list .panel .panel-body .producer-type { | .site-producers #producers-list .panel .panel-body .producer-type { | ||||
font-family: 'worksans_regular'; | font-family: 'worksans_regular'; | ||||
font-size: 1.05rem; | font-size: 1.05rem; | ||||
text-transform: uppercase; | text-transform: uppercase; | ||||
margin-bottom: 10px; | margin-bottom: 10px; | ||||
} | } | ||||
/* line 792, ../sass/screen.scss */ | |||||
/* line 800, ../sass/screen.scss */ | |||||
.site-producers #producers-list .panel .panel-footer { | .site-producers #producers-list .panel .panel-footer { | ||||
border: 0px none; | border: 0px none; | ||||
padding: 0px; | padding: 0px; | ||||
} | } | ||||
/* line 796, ../sass/screen.scss */ | |||||
/* line 804, ../sass/screen.scss */ | |||||
.site-producers #producers-list .panel .panel-footer a { | .site-producers #producers-list .panel .panel-footer a { | ||||
display: block; | display: block; | ||||
width: 100%; | width: 100%; | ||||
padding-bottom: 0px; | padding-bottom: 0px; | ||||
margin: 0px; | margin: 0px; | ||||
} | } | ||||
/* line 806, ../sass/screen.scss */ | |||||
/* line 814, ../sass/screen.scss */ | |||||
.site-producers #producers-list .panel .panel-footer a.btn-secondary { | .site-producers #producers-list .panel .panel-footer a.btn-secondary { | ||||
color: #e4ac07; | color: #e4ac07; | ||||
background-color: white; | background-color: white; | ||||
-webkit-box-shadow: -30px 0px 15px -15px #ece4d8 inset; | -webkit-box-shadow: -30px 0px 15px -15px #ece4d8 inset; | ||||
box-shadow: -30px 0px 15px -15px #ece4d8 inset; | box-shadow: -30px 0px 15px -15px #ece4d8 inset; | ||||
} | } | ||||
/* line 812, ../sass/screen.scss */ | |||||
/* line 820, ../sass/screen.scss */ | |||||
.site-producers #producers-list .panel .panel-footer a.btn-secondary:hover { | .site-producers #producers-list .panel .panel-footer a.btn-secondary:hover { | ||||
background-color: #f4efe8; | background-color: #f4efe8; | ||||
border: solid 1px #f4efe8; | border: solid 1px #f4efe8; | ||||
-webkit-box-shadow: none; | -webkit-box-shadow: none; | ||||
box-shadow: none; | box-shadow: none; | ||||
} | } | ||||
/* line 828, ../sass/screen.scss */ | |||||
/* line 836, ../sass/screen.scss */ | |||||
.site-producers #producers-list .panel .logo { | .site-producers #producers-list .panel .logo { | ||||
float: right; | float: right; | ||||
position: relative; | position: relative; | ||||
text-align: right; | text-align: right; | ||||
overflow: hidden; | overflow: hidden; | ||||
} | } | ||||
/* line 839, ../sass/screen.scss */ | |||||
/* line 847, ../sass/screen.scss */ | |||||
.site-producers #producers-list .panel .logo .img-logo { | .site-producers #producers-list .panel .logo .img-logo { | ||||
position: absolute; | position: absolute; | ||||
top: 50%; | top: 50%; | ||||
max-width: 90px; | max-width: 90px; | ||||
max-height: 90px; | max-height: 90px; | ||||
} | } | ||||
/* line 851, ../sass/screen.scss */ | |||||
/* line 859, ../sass/screen.scss */ | |||||
.site-producers #wrapper-producers-map { | .site-producers #wrapper-producers-map { | ||||
z-index: 10; | z-index: 10; | ||||
} | } | ||||
/* line 854, ../sass/screen.scss */ | |||||
/* line 862, ../sass/screen.scss */ | |||||
.site-producers #wrapper-producers-map #producers-map { | .site-producers #wrapper-producers-map #producers-map { | ||||
height: 750px; | height: 750px; | ||||
border: solid 1px #e0e0e0; | border: solid 1px #e0e0e0; | ||||
} | } | ||||
/* line 858, ../sass/screen.scss */ | |||||
/* line 866, ../sass/screen.scss */ | |||||
.site-producers #wrapper-producers-map #producers-map.fixed { | .site-producers #wrapper-producers-map #producers-map.fixed { | ||||
position: fixed !important; | position: fixed !important; | ||||
top: 20px; | top: 20px; | ||||
width: 300px; | width: 300px; | ||||
height: 750px; | height: 750px; | ||||
} | } | ||||
/* line 866, ../sass/screen.scss */ | |||||
/* line 874, ../sass/screen.scss */ | |||||
.site-producers #wrapper-producers-map #producers-map a { | .site-producers #wrapper-producers-map #producers-map a { | ||||
text-decoration: none; | text-decoration: none; | ||||
} | } | ||||
/* line 870, ../sass/screen.scss */ | |||||
/* line 878, ../sass/screen.scss */ | |||||
.site-producers #wrapper-producers-map #producers-map .popup-producer { | .site-producers #wrapper-producers-map #producers-map .popup-producer { | ||||
font-size: 14px; | font-size: 14px; | ||||
color: #505050; | color: #505050; | ||||
} | } | ||||
/* line 874, ../sass/screen.scss */ | |||||
/* line 882, ../sass/screen.scss */ | |||||
.site-producers #wrapper-producers-map #producers-map .popup-producer .name { | .site-producers #wrapper-producers-map #producers-map .popup-producer .name { | ||||
font-family: 'worksans_bold'; | font-family: 'worksans_bold'; | ||||
color: #e4ac07; | color: #e4ac07; | ||||
font-size: 23px; | font-size: 23px; | ||||
margin-bottom: 2px; | margin-bottom: 2px; | ||||
} | } | ||||
/* line 881, ../sass/screen.scss */ | |||||
/* line 889, ../sass/screen.scss */ | |||||
.site-producers #wrapper-producers-map #producers-map .popup-producer .type { | .site-producers #wrapper-producers-map #producers-map .popup-producer .type { | ||||
font-family: 'worksans_regular'; | font-family: 'worksans_regular'; | ||||
text-transform: uppercase; | text-transform: uppercase; | ||||
font-size: 16px; | font-size: 16px; | ||||
margin-bottom: 5px; | margin-bottom: 5px; | ||||
} | } | ||||
/* line 888, ../sass/screen.scss */ | |||||
/* line 896, ../sass/screen.scss */ | |||||
.site-producers #wrapper-producers-map #producers-map .popup-producer .address { | .site-producers #wrapper-producers-map #producers-map .popup-producer .address { | ||||
font-family: 'worksans_regular'; | font-family: 'worksans_regular'; | ||||
margin-bottom: 14px; | margin-bottom: 14px; | ||||
color: gray; | color: gray; | ||||
} | } | ||||
/* line 894, ../sass/screen.scss */ | |||||
/* line 902, ../sass/screen.scss */ | |||||
.site-producers #wrapper-producers-map #producers-map .popup-producer .link { | .site-producers #wrapper-producers-map #producers-map .popup-producer .link { | ||||
color: white; | color: white; | ||||
text-align: right; | text-align: right; | ||||
} | } | ||||
/* line 906, ../sass/screen.scss */ | |||||
/* line 914, ../sass/screen.scss */ | |||||
#content .site-about .panel .panel-heading h2 { | #content .site-about .panel .panel-heading h2 { | ||||
margin: 0px; | margin: 0px; | ||||
padding: 0px; | padding: 0px; | ||||
} | } | ||||
/* line 913, ../sass/screen.scss */ | |||||
/* line 921, ../sass/screen.scss */ | |||||
#content .site-about .panel .panel-body h2 { | #content .site-about .panel .panel-body h2 { | ||||
margin-bottom: 20px; | margin-bottom: 20px; | ||||
padding-bottom: 0px; | padding-bottom: 0px; | ||||
margin-top: 0px; | margin-top: 0px; | ||||
} | } | ||||
/* line 919, ../sass/screen.scss */ | |||||
/* line 927, ../sass/screen.scss */ | |||||
#content .site-about .panel .panel-body p:last-child { | #content .site-about .panel .panel-body p:last-child { | ||||
margin-bottom: 0px; | margin-bottom: 0px; | ||||
padding-bottom: 5px; | padding-bottom: 5px; | ||||
} | } | ||||
/* line 928, ../sass/screen.scss */ | |||||
/* line 936, ../sass/screen.scss */ | |||||
#content .site-about #few-numbers .panel-body { | #content .site-about #few-numbers .panel-body { | ||||
padding: 0px 20px 20px 20px; | padding: 0px 20px 20px 20px; | ||||
} | } | ||||
/* line 932, ../sass/screen.scss */ | |||||
/* line 940, ../sass/screen.scss */ | |||||
#content .site-about #few-numbers .item { | #content .site-about #few-numbers .item { | ||||
text-align: center; | text-align: center; | ||||
padding-top: 20px; | padding-top: 20px; | ||||
padding-bottom: 10px; | padding-bottom: 10px; | ||||
} | } | ||||
/* line 937, ../sass/screen.scss */ | |||||
/* line 945, ../sass/screen.scss */ | |||||
#content .site-about #few-numbers .item .number { | #content .site-about #few-numbers .item .number { | ||||
font-family: 'worksans_bold'; | font-family: 'worksans_bold'; | ||||
font-weight: bold; | font-weight: bold; | ||||
font-size: 35px; | font-size: 35px; | ||||
color: #ee6f42; | color: #ee6f42; | ||||
} | } | ||||
/* line 944, ../sass/screen.scss */ | |||||
/* line 952, ../sass/screen.scss */ | |||||
#content .site-about #few-numbers .item .description { | #content .site-about #few-numbers .item .description { | ||||
font-size: 16px; | font-size: 16px; | ||||
line-height: 20px; | line-height: 20px; | ||||
font-family: 'worksans_medium'; | font-family: 'worksans_medium'; | ||||
text-transform: uppercase; | text-transform: uppercase; | ||||
} | } | ||||
/* line 952, ../sass/screen.scss */ | |||||
/* line 960, ../sass/screen.scss */ | |||||
#content .site-about #few-numbers .item .detail { | #content .site-about #few-numbers .item .detail { | ||||
color: gray; | color: gray; | ||||
} | } | ||||
/* line 958, ../sass/screen.scss */ | |||||
/* line 966, ../sass/screen.scss */ | |||||
#content .site-about #carousel-producers-testimonials { | #content .site-about #carousel-producers-testimonials { | ||||
transition: all 0.4s; | transition: all 0.4s; | ||||
} | } | ||||
/* line 961, ../sass/screen.scss */ | |||||
/* line 969, ../sass/screen.scss */ | |||||
#content .site-about #carousel-producers-testimonials .item, #content .site-about #carousel-producers-testimonials .carousel-caption { | #content .site-about #carousel-producers-testimonials .item, #content .site-about #carousel-producers-testimonials .carousel-caption { | ||||
transition: all 0.4s; | transition: all 0.4s; | ||||
} | } | ||||
/* line 965, ../sass/screen.scss */ | |||||
/* line 973, ../sass/screen.scss */ | |||||
#content .site-about #carousel-producers-testimonials .carousel-indicators { | #content .site-about #carousel-producers-testimonials .carousel-indicators { | ||||
display: none; | display: none; | ||||
} | } | ||||
/* line 969, ../sass/screen.scss */ | |||||
/* line 977, ../sass/screen.scss */ | |||||
#content .site-about #carousel-producers-testimonials .carousel-control-next, | #content .site-about #carousel-producers-testimonials .carousel-control-next, | ||||
#content .site-about #carousel-producers-testimonials .carousel-control-prev { | #content .site-about #carousel-producers-testimonials .carousel-control-prev { | ||||
background: none; | background: none; | ||||
} | } | ||||
/* line 974, ../sass/screen.scss */ | |||||
/* line 982, ../sass/screen.scss */ | |||||
#content .site-about #carousel-producers-testimonials .carousel-control-next .bi, | #content .site-about #carousel-producers-testimonials .carousel-control-next .bi, | ||||
#content .site-about #carousel-producers-testimonials .carousel-control-prev .bi { | #content .site-about #carousel-producers-testimonials .carousel-control-prev .bi { | ||||
position: absolute; | position: absolute; | ||||
font-size: 35px; | font-size: 35px; | ||||
color: black; | color: black; | ||||
} | } | ||||
/* line 981, ../sass/screen.scss */ | |||||
/* line 989, ../sass/screen.scss */ | |||||
#content .site-about #carousel-producers-testimonials .carousel-control-next.carousel-control-next .bi, | #content .site-about #carousel-producers-testimonials .carousel-control-next.carousel-control-next .bi, | ||||
#content .site-about #carousel-producers-testimonials .carousel-control-prev.carousel-control-next .bi { | #content .site-about #carousel-producers-testimonials .carousel-control-prev.carousel-control-next .bi { | ||||
right: 0px; | right: 0px; | ||||
} | } | ||||
/* line 985, ../sass/screen.scss */ | |||||
/* line 993, ../sass/screen.scss */ | |||||
#content .site-about #carousel-producers-testimonials .carousel-control-next.carousel-control-prev .bi, | #content .site-about #carousel-producers-testimonials .carousel-control-next.carousel-control-prev .bi, | ||||
#content .site-about #carousel-producers-testimonials .carousel-control-prev.carousel-control-prev .bi { | #content .site-about #carousel-producers-testimonials .carousel-control-prev.carousel-control-prev .bi { | ||||
left: 0px; | left: 0px; | ||||
} | } | ||||
/* line 991, ../sass/screen.scss */ | |||||
/* line 999, ../sass/screen.scss */ | |||||
#content .site-about #carousel-producers-testimonials .carousel-item .carousel-caption { | #content .site-about #carousel-producers-testimonials .carousel-item .carousel-caption { | ||||
top: 20px; | top: 20px; | ||||
color: black; | color: black; | ||||
text-shadow: none; | text-shadow: none; | ||||
padding: 0px; | padding: 0px; | ||||
} | } | ||||
/* line 997, ../sass/screen.scss */ | |||||
/* line 1005, ../sass/screen.scss */ | |||||
#content .site-about #carousel-producers-testimonials .carousel-item .carousel-caption img { | #content .site-about #carousel-producers-testimonials .carousel-item .carousel-caption img { | ||||
display: block; | display: block; | ||||
width: 150px; | width: 150px; | ||||
height: auto; | height: auto; | ||||
margin: 0px auto 15px auto; | margin: 0px auto 15px auto; | ||||
} | } | ||||
/* line 1005, ../sass/screen.scss */ | |||||
/* line 1013, ../sass/screen.scss */ | |||||
#content .site-about #carousel-producers-testimonials .carousel-item .carousel-caption .producer-testimony { | #content .site-about #carousel-producers-testimonials .carousel-item .carousel-caption .producer-testimony { | ||||
margin-bottom: 12px; | margin-bottom: 12px; | ||||
} | } | ||||
/* line 1009, ../sass/screen.scss */ | |||||
/* line 1017, ../sass/screen.scss */ | |||||
#content .site-about #carousel-producers-testimonials .carousel-item .carousel-caption .producer-details { | #content .site-about #carousel-producers-testimonials .carousel-item .carousel-caption .producer-details { | ||||
font-style: italic; | font-style: italic; | ||||
color: gray; | color: gray; | ||||
} | } | ||||
/* line 1013, ../sass/screen.scss */ | |||||
/* line 1021, ../sass/screen.scss */ | |||||
#content .site-about #carousel-producers-testimonials .carousel-item .carousel-caption .producer-details .producer-name { | #content .site-about #carousel-producers-testimonials .carousel-item .carousel-caption .producer-details .producer-name { | ||||
color: #ee6f42; | color: #ee6f42; | ||||
} | } | ||||
/* line 1023, ../sass/screen.scss */ | |||||
/* line 1031, ../sass/screen.scss */ | |||||
#content .site-service #panel-go-further { | #content .site-service #panel-go-further { | ||||
text-align: center; | text-align: center; | ||||
} | } | ||||
/* line 1028, ../sass/screen.scss */ | |||||
/* line 1036, ../sass/screen.scss */ | |||||
#content #mentions { | #content #mentions { | ||||
padding-top: 20px; | padding-top: 20px; | ||||
} | } | ||||
/* line 1031, ../sass/screen.scss */ | |||||
/* line 1039, ../sass/screen.scss */ | |||||
#content #mentions div.content { | #content #mentions div.content { | ||||
width: 60%; | width: 60%; | ||||
font-size: 90%; | font-size: 90%; | ||||
} | } | ||||
/* line 1036, ../sass/screen.scss */ | |||||
/* line 1044, ../sass/screen.scss */ | |||||
#content #mentions p { | #content #mentions p { | ||||
padding-bottom: 15px; | padding-bottom: 15px; | ||||
} | } | ||||
/* line 1040, ../sass/screen.scss */ | |||||
/* line 1048, ../sass/screen.scss */ | |||||
#content #mentions h2 { | #content #mentions h2 { | ||||
color: black; | color: black; | ||||
padding-bottom: 40px; | padding-bottom: 40px; | ||||
line-height: 35px; | line-height: 35px; | ||||
font-family: 'highvoltageregular'; | font-family: 'highvoltageregular'; | ||||
} | } | ||||
/* line 1048, ../sass/screen.scss */ | |||||
/* line 1056, ../sass/screen.scss */ | |||||
#content #mentions h3 { | #content #mentions h3 { | ||||
font-family: "highvoltageregular"; | font-family: "highvoltageregular"; | ||||
font-size: 18px; | font-size: 18px; | ||||
color: black; | color: black; | ||||
} | } | ||||
/* line 1063, ../sass/screen.scss */ | |||||
/* line 1071, ../sass/screen.scss */ | |||||
.vegas-loading { | .vegas-loading { | ||||
display: none; | display: none; | ||||
} | } | ||||
/* line 1070, ../sass/screen.scss */ | |||||
/* line 1078, ../sass/screen.scss */ | |||||
#profil-user .form-group.field-user-no_mail label { | #profil-user .form-group.field-user-no_mail label { | ||||
font-weight: normal; | font-weight: normal; | ||||
} | } | ||||
/* line 1074, ../sass/screen.scss */ | |||||
/* line 1082, ../sass/screen.scss */ | |||||
#profil-user .form-group label { | #profil-user .form-group label { | ||||
cursor: pointer; | cursor: pointer; | ||||
} | } | ||||
/* line 1079, ../sass/screen.scss */ | |||||
/* line 1087, ../sass/screen.scss */ | |||||
#profil-user #mails-days-distribution .form-group { | #profil-user #mails-days-distribution .form-group { | ||||
float: left; | float: left; | ||||
margin-right: 15px; | margin-right: 15px; | ||||
} | } | ||||
/* line 1083, ../sass/screen.scss */ | |||||
/* line 1091, ../sass/screen.scss */ | |||||
#profil-user #mails-days-distribution .form-group label { | #profil-user #mails-days-distribution .form-group label { | ||||
font-weight: normal; | font-weight: normal; | ||||
} | } | ||||
/* line 1089, ../sass/screen.scss */ | |||||
/* line 1097, ../sass/screen.scss */ | |||||
#profil-user p.strong { | #profil-user p.strong { | ||||
font-weight: bold; | font-weight: bold; | ||||
} | } | ||||
/* line 1093, ../sass/screen.scss */ | |||||
/* line 1101, ../sass/screen.scss */ | |||||
#profil-user h2 { | #profil-user h2 { | ||||
text-transform: none; | text-transform: none; | ||||
font-size: 25px; | font-size: 25px; | ||||
} | } | ||||
/* line 1097, ../sass/screen.scss */ | |||||
/* line 1105, ../sass/screen.scss */ | |||||
#profil-user h2:first-child { | #profil-user h2:first-child { | ||||
margin-top: 0px; | margin-top: 0px; | ||||
} | } | ||||
/* login */ | /* login */ | ||||
/* line 1108, ../sass/screen.scss */ | |||||
/* line 1116, ../sass/screen.scss */ | |||||
.back-white, .site-login .col-lg-5, .site-signup .col-lg-5 { | .back-white, .site-login .col-lg-5, .site-signup .col-lg-5 { | ||||
background-color: white; | background-color: white; | ||||
padding: 30px; | padding: 30px; | ||||
border-radius: 5px; | border-radius: 5px; | ||||
} | } | ||||
/* line 1115, ../sass/screen.scss */ | |||||
/* line 1123, ../sass/screen.scss */ | |||||
.site-login .col-lg-5 { | .site-login .col-lg-5 { | ||||
margin: 0px auto; | margin: 0px auto; | ||||
float: none; | float: none; | ||||
} | } | ||||
/* signup */ | /* signup */ | ||||
/* line 1125, ../sass/screen.scss */ | |||||
/* line 1133, ../sass/screen.scss */ | |||||
.modal-backdrop { | .modal-backdrop { | ||||
z-index: 999; | z-index: 999; | ||||
} | } | ||||
/* line 1130, ../sass/screen.scss */ | |||||
/* line 1138, ../sass/screen.scss */ | |||||
.site-signup .col-lg-5 { | .site-signup .col-lg-5 { | ||||
margin: 0px auto; | margin: 0px auto; | ||||
float: none; | float: none; | ||||
max-width: 500px; | max-width: 500px; | ||||
} | } | ||||
/* line 1143, ../sass/screen.scss */ | |||||
/* line 1151, ../sass/screen.scss */ | |||||
#form-signup #user-producer { | #form-signup #user-producer { | ||||
margin-bottom: 30px; | margin-bottom: 30px; | ||||
} | } | ||||
/* line 1148, ../sass/screen.scss */ | |||||
/* line 1156, ../sass/screen.scss */ | |||||
#form-signup #signupform-id_producer option:disabled { | #form-signup #signupform-id_producer option:disabled { | ||||
font-weight: bold; | font-weight: bold; | ||||
color: black; | color: black; | ||||
} | } | ||||
/* line 1154, ../sass/screen.scss */ | |||||
/* line 1162, ../sass/screen.scss */ | |||||
#form-signup #champs-producer { | #form-signup #champs-producer { | ||||
display: none; | display: none; | ||||
} | } | ||||
/* line 1158, ../sass/screen.scss */ | |||||
/* line 1166, ../sass/screen.scss */ | |||||
#form-signup #buttons-signup { | #form-signup #buttons-signup { | ||||
margin-top: 30px; | margin-top: 30px; | ||||
} | } | ||||
/* line 1162, ../sass/screen.scss */ | |||||
/* line 1170, ../sass/screen.scss */ | |||||
#form-signup .field-signupform-is_test { | #form-signup .field-signupform-is_test { | ||||
display: none; | display: none; | ||||
} | } | ||||
/* line 1167, ../sass/screen.scss */ | |||||
/* line 1175, ../sass/screen.scss */ | |||||
#col-left { | #col-left { | ||||
padding: 0px; | padding: 0px; | ||||
z-index: 15; | z-index: 15; | ||||
} | } | ||||
/* line 1171, ../sass/screen.scss */ | |||||
/* line 1179, ../sass/screen.scss */ | |||||
#col-left .affix { | #col-left .affix { | ||||
width: 25%; | width: 25%; | ||||
border-right: solid 1px #e0e0e0; | border-right: solid 1px #e0e0e0; | ||||
background-color: #FAFAFA; | background-color: #FAFAFA; | ||||
height: 100%; | height: 100%; | ||||
} | } | ||||
/* line 1178, ../sass/screen.scss */ | |||||
/* line 1186, ../sass/screen.scss */ | |||||
#col-left #link-home { | #col-left #link-home { | ||||
text-decoration: none; | text-decoration: none; | ||||
font-size: 22px; | font-size: 22px; | ||||
padding: 10px; | padding: 10px; | ||||
background-color: #e4ac07; | background-color: #e4ac07; | ||||
} | } | ||||
/* line 1186, ../sass/screen.scss */ | |||||
/* line 1194, ../sass/screen.scss */ | |||||
#col-left #link-home img { | #col-left #link-home img { | ||||
height: 50px; | height: 50px; | ||||
margin-bottom: 5px; | margin-bottom: 5px; | ||||
float: left; | float: left; | ||||
} | } | ||||
/* line 1192, ../sass/screen.scss */ | |||||
/* line 1200, ../sass/screen.scss */ | |||||
#col-left #link-home .text { | #col-left #link-home .text { | ||||
padding-left: 62px; | padding-left: 62px; | ||||
} | } | ||||
/* line 1195, ../sass/screen.scss */ | |||||
/* line 1203, ../sass/screen.scss */ | |||||
#col-left #link-home .text .bap { | #col-left #link-home .text .bap { | ||||
font-family: "comfortaalight"; | font-family: "comfortaalight"; | ||||
font-size: 24px; | font-size: 24px; | ||||
} | } | ||||
/* line 1200, ../sass/screen.scss */ | |||||
/* line 1208, ../sass/screen.scss */ | |||||
#col-left #link-home .text .plateforme { | #col-left #link-home .text .plateforme { | ||||
font-size: 17px; | font-size: 17px; | ||||
font-family: "myriadpro-light"; | font-family: "myriadpro-light"; | ||||
color: #ee6f42; | color: #ee6f42; | ||||
} | } | ||||
/* line 1208, ../sass/screen.scss */ | |||||
/* line 1216, ../sass/screen.scss */ | |||||
#col-left h2 { | #col-left h2 { | ||||
font-family: 'myriadpro-regular'; | font-family: 'myriadpro-regular'; | ||||
color: black; | color: black; | ||||
margin-bottom: 10px; | margin-bottom: 10px; | ||||
padding: 15px 0px 5px 15px; | padding: 15px 0px 5px 15px; | ||||
} | } | ||||
/* line 1216, ../sass/screen.scss */ | |||||
/* line 1224, ../sass/screen.scss */ | |||||
#col-left #links { | #col-left #links { | ||||
background-color: white; | background-color: white; | ||||
margin-bottom: 20px; | margin-bottom: 20px; | ||||
} | } | ||||
/* line 1222, ../sass/screen.scss */ | |||||
/* line 1230, ../sass/screen.scss */ | |||||
#col-left #links ul li a { | #col-left #links ul li a { | ||||
text-align: center; | text-align: center; | ||||
border-right: solid 1px #e0e0e0; | border-right: solid 1px #e0e0e0; | ||||
} | } | ||||
/* line 1226, ../sass/screen.scss */ | |||||
/* line 1234, ../sass/screen.scss */ | |||||
#col-left #links ul li a:hover { | #col-left #links ul li a:hover { | ||||
background-color: #ee6f42; | background-color: #ee6f42; | ||||
color: white; | color: white; | ||||
} | } | ||||
/* line 1232, ../sass/screen.scss */ | |||||
/* line 1240, ../sass/screen.scss */ | |||||
#col-left #links ul li:last-child a { | #col-left #links ul li:last-child a { | ||||
border-right: 0px none; | border-right: 0px none; | ||||
} | } | ||||
/* line 1242, ../sass/screen.scss */ | |||||
/* line 1250, ../sass/screen.scss */ | |||||
#col-left #producers nav.nav-producers ul li a { | #col-left #producers nav.nav-producers ul li a { | ||||
padding-left: 50px; | padding-left: 50px; | ||||
height: 40px; | height: 40px; | ||||
} | } | ||||
/* line 1248, ../sass/screen.scss */ | |||||
/* line 1256, ../sass/screen.scss */ | |||||
#col-left #producers nav.nav-producers ul li.active a { | #col-left #producers nav.nav-producers ul li.active a { | ||||
background-color: #ee6f42; | background-color: #ee6f42; | ||||
position: relative; | position: relative; | ||||
color: white; | color: white; | ||||
} | } | ||||
/* line 1253, ../sass/screen.scss */ | |||||
/* line 1261, ../sass/screen.scss */ | |||||
#col-left #producers nav.nav-producers ul li.active a:after { | #col-left #producers nav.nav-producers ul li.active a:after { | ||||
right: -40px; | right: -40px; | ||||
top: 50%; | top: 50%; | ||||
border-width: 20px; | border-width: 20px; | ||||
margin-top: -20px; | margin-top: -20px; | ||||
} | } | ||||
/* line 1272, ../sass/screen.scss */ | |||||
/* line 1280, ../sass/screen.scss */ | |||||
#col-left ul { | #col-left ul { | ||||
list-style-type: none; | list-style-type: none; | ||||
margin: 0px; | margin: 0px; | ||||
padding: 0px; | padding: 0px; | ||||
} | } | ||||
/* line 1277, ../sass/screen.scss */ | |||||
/* line 1285, ../sass/screen.scss */ | |||||
#col-left ul li { | #col-left ul li { | ||||
margin: 0px; | margin: 0px; | ||||
padding: 0px; | padding: 0px; | ||||
} | } | ||||
/* line 1281, ../sass/screen.scss */ | |||||
/* line 1289, ../sass/screen.scss */ | |||||
#col-left ul li a { | #col-left ul li a { | ||||
text-decoration: none; | text-decoration: none; | ||||
font-family: 'comfortaaregular'; | font-family: 'comfortaaregular'; | ||||
display: block; | display: block; | ||||
color: black; | color: black; | ||||
} | } | ||||
/* line 1291, ../sass/screen.scss */ | |||||
/* line 1299, ../sass/screen.scss */ | |||||
#col-left ul li a span.name, #col-left ul li a span.wording { | #col-left ul li a span.name, #col-left ul li a span.wording { | ||||
display: none; | display: none; | ||||
} | } | ||||
/* line 1298, ../sass/screen.scss */ | |||||
/* line 1306, ../sass/screen.scss */ | |||||
#col-left p { | #col-left p { | ||||
padding: 20px; | padding: 20px; | ||||
padding-top: 0px; | padding-top: 0px; | ||||
color: gray; | color: gray; | ||||
} | } | ||||
/* line 1306, ../sass/screen.scss */ | |||||
/* line 1314, ../sass/screen.scss */ | |||||
#content .header-title { | #content .header-title { | ||||
height: 79px; | height: 79px; | ||||
padding: 20px 20px; | padding: 20px 20px; | ||||
-webkit-box-shadow: 0px 0px 8px #e0e0e0; | -webkit-box-shadow: 0px 0px 8px #e0e0e0; | ||||
box-shadow: 0px 0px 8px #e0e0e0; | box-shadow: 0px 0px 8px #e0e0e0; | ||||
} | } | ||||
/* line 1318, ../sass/screen.scss */ | |||||
/* line 1326, ../sass/screen.scss */ | |||||
#content .header-title h1 { | #content .header-title h1 { | ||||
color: black; | color: black; | ||||
font-family: 'myriadpro-regular'; | font-family: 'myriadpro-regular'; | ||||
font-size: 25px; | font-size: 25px; | ||||
text-transform: uppercase; | text-transform: uppercase; | ||||
} | } | ||||
/* line 1326, ../sass/screen.scss */ | |||||
/* line 1334, ../sass/screen.scss */ | |||||
#content .header-title h2 { | #content .header-title h2 { | ||||
color: gray; | color: gray; | ||||
text-transform: none; | text-transform: none; | ||||
line-height: 20px; | line-height: 20px; | ||||
} | } | ||||
/* line 1337, ../sass/screen.scss */ | |||||
/* line 1345, ../sass/screen.scss */ | |||||
.header-producer { | .header-producer { | ||||
z-index: 1; | z-index: 1; | ||||
} | } | ||||
/* line 1340, ../sass/screen.scss */ | |||||
/* line 1348, ../sass/screen.scss */ | |||||
.header-producer #block-main-img { | .header-producer #block-main-img { | ||||
height: 144px; | height: 144px; | ||||
overflow: hidden; | overflow: hidden; | ||||
} | } | ||||
/* line 1344, ../sass/screen.scss */ | |||||
/* line 1352, ../sass/screen.scss */ | |||||
.header-producer #block-main-img #main-img { | .header-producer #block-main-img #main-img { | ||||
width: 100%; | width: 100%; | ||||
height: auto; | height: auto; | ||||
-webkit-border-radius: 0px; | -webkit-border-radius: 0px; | ||||
border-radius: 0px; | border-radius: 0px; | ||||
} | } | ||||
/* line 1353, ../sass/screen.scss */ | |||||
/* line 1361, ../sass/screen.scss */ | |||||
.header-producer h1 { | .header-producer h1 { | ||||
font-family: 'comfortaaregular'; | font-family: 'comfortaaregular'; | ||||
text-align: center; | text-align: center; | ||||
top: 30px; | top: 30px; | ||||
left: 40px; | left: 40px; | ||||
} | } | ||||
/* line 1360, ../sass/screen.scss */ | |||||
/* line 1368, ../sass/screen.scss */ | |||||
.header-producer h1 span { | .header-producer h1 span { | ||||
background-color: rgba(255, 255, 255, 0.8); | background-color: rgba(255, 255, 255, 0.8); | ||||
padding: 10px 30px; | padding: 10px 30px; | ||||
border: dotted 1px black; | border: dotted 1px black; | ||||
} | } | ||||
/* line 1371, ../sass/screen.scss */ | |||||
/* line 1379, ../sass/screen.scss */ | |||||
nav#menu-producer { | nav#menu-producer { | ||||
border-bottom: solid 1px #e0e0e0; | border-bottom: solid 1px #e0e0e0; | ||||
} | } | ||||
/* line 1375, ../sass/screen.scss */ | |||||
/* line 1383, ../sass/screen.scss */ | |||||
nav#menu-producer ul li { | nav#menu-producer ul li { | ||||
padding: 0px; | padding: 0px; | ||||
margin: 0px; | margin: 0px; | ||||
} | } | ||||
/* line 1379, ../sass/screen.scss */ | |||||
/* line 1387, ../sass/screen.scss */ | |||||
nav#menu-producer ul li a { | nav#menu-producer ul li a { | ||||
border-right: solid 1px #e0e0e0; | border-right: solid 1px #e0e0e0; | ||||
text-decoration: none; | text-decoration: none; | ||||
-webkit-border-radius: 0px; | -webkit-border-radius: 0px; | ||||
border-radius: 0px; | border-radius: 0px; | ||||
} | } | ||||
/* line 1384, ../sass/screen.scss */ | |||||
/* line 1392, ../sass/screen.scss */ | |||||
nav#menu-producer ul li a:hover { | nav#menu-producer ul li a:hover { | ||||
background-color: #ee6f42; | background-color: #ee6f42; | ||||
color: white; | color: white; | ||||
} | } | ||||
/* line 1394, ../sass/screen.scss */ | |||||
/* line 1402, ../sass/screen.scss */ | |||||
.site-contact .col-lg-6 { | .site-contact .col-lg-6 { | ||||
margin: 0px auto; | margin: 0px auto; | ||||
float: none; | float: none; | ||||
} | } | ||||
/* line 1399, ../sass/screen.scss */ | |||||
/* line 1407, ../sass/screen.scss */ | |||||
.site-contact .form-group.submit { | .site-contact .form-group.submit { | ||||
text-align: right; | text-align: right; | ||||
} | } | ||||
/* line 1405, ../sass/screen.scss */ | |||||
/* line 1413, ../sass/screen.scss */ | |||||
.site-opinion .col-lg-6 { | .site-opinion .col-lg-6 { | ||||
margin: 0px auto; | margin: 0px auto; | ||||
float: none; | float: none; | ||||
} | } | ||||
/* line 1410, ../sass/screen.scss */ | |||||
/* line 1418, ../sass/screen.scss */ | |||||
.site-opinion .field-opinionform-istest { | .site-opinion .field-opinionform-istest { | ||||
display: none; | display: none; | ||||
} | } | ||||
/* line 1414, ../sass/screen.scss */ | |||||
/* line 1422, ../sass/screen.scss */ | |||||
.site-opinion .form-group.submit { | .site-opinion .form-group.submit { | ||||
text-align: center; | text-align: center; | ||||
} | } | ||||
/* line 1421, ../sass/screen.scss */ | |||||
/* line 1429, ../sass/screen.scss */ | |||||
#site-prices .panel p { | #site-prices .panel p { | ||||
padding-bottom: 0px; | padding-bottom: 0px; | ||||
} | } | ||||
/* line 1428, ../sass/screen.scss */ | |||||
/* line 1436, ../sass/screen.scss */ | |||||
#contact-form .field-contactform-istest { | #contact-form .field-contactform-istest { | ||||
display: none; | display: none; | ||||
} | } | ||||
/* line 1442, ../sass/screen.scss */ | |||||
.site-request-password-reset .col-lg-6 { | |||||
margin: 0px auto; | |||||
} | |||||
/** | /** | ||||
Copyright Souke (2018) | Copyright Souke (2018) | ||||
.form-control { | .form-control { | ||||
border: 0px none; | border: 0px none; | ||||
@include border-radius(0px); | @include border-radius(0px); | ||||
line-height: 1.2rem; | |||||
font-size: 1.2rem; | |||||
padding: 10px 20px; | |||||
color: black; | |||||
&:focus { | &:focus { | ||||
@include box-shadow(none !important); | @include box-shadow(none !important); | ||||
} | } | ||||
&::placeholder { | |||||
color: gray; | |||||
} | |||||
} | } | ||||
} | } | ||||
} | } | ||||
} | } | ||||
.site-request-password-reset { | |||||
.col-lg-6 { | |||||
margin: 0px auto; | |||||
} | |||||
} | |||||
@import "_order_system.scss"; | @import "_order_system.scss"; | ||||
@import "_responsive.scss"; | @import "_responsive.scss"; | ||||
$featureChecker = FeatureModule::getInstance()->getChecker(); | $featureChecker = FeatureModule::getInstance()->getChecker(); | ||||
$producer = $this->context->getProducerCurrent(); | $producer = $this->context->getProducerCurrent(); | ||||
$this->setTitle('Cagnotte <div id="credit-user">' . number_format($creditUser, 2, ',', ' ') . ' €</div>'); | $this->setTitle('Cagnotte <div id="credit-user">' . number_format($creditUser, 2, ',', ' ') . ' €</div>'); | ||||
$this->setPageTitle('Crédit'); | |||||
$this->setPageTitle('Cagnotte'); | |||||
if ($featureChecker->isEnabled(Feature::ALIAS_ONLINE_PAYMENT) && $this->context->getProducerCurrent()->online_payment) { | if ($featureChecker->isEnabled(Feature::ALIAS_ONLINE_PAYMENT) && $this->context->getProducerCurrent()->online_payment) { | ||||
$this->addButton( | $this->addButton( |
$pointSaleModule = PointSaleModule::getInstance(); | $pointSaleModule = PointSaleModule::getInstance(); | ||||
$producer = GlobalParam::getCurrentProducer() ; | $producer = GlobalParam::getCurrentProducer() ; | ||||
$this->setTitle('Confirmation de commande') ; | |||||
//$this->setTitle('Confirmation de commande') ; | |||||
?> | ?> | ||||
Vous devez | Vous devez | ||||
<template v-if="producer.online_payment == 1"><a | <template v-if="producer.online_payment == 1"><a | ||||
href="<?= \Yii::$app->urlManager->createUrl(['credit/add']) ?>">recharger | href="<?= \Yii::$app->urlManager->createUrl(['credit/add']) ?>">recharger | ||||
votre crédit</a></template> | |||||
<template v-else>recharger votre crédit</template> | |||||
votre cagnotte</a></template> | |||||
<template v-else>recharger votre cagnotte</template> | |||||
auprès de votre producteur ou supprimer des produits.</span> | auprès de votre producteur ou supprimer des produits.</span> | ||||
Votre producteur n'autorise pas une cagnotte avec un montant inférieur | Votre producteur n'autorise pas une cagnotte avec un montant inférieur | ||||
à <strong>{{ formatPrice(producer.credit_limit) }}</strong>. | à <strong>{{ formatPrice(producer.credit_limit) }}</strong>. | ||||
<template v-if="order == null || order.amount_paid == 0"> | <template v-if="order == null || order.amount_paid == 0"> | ||||
<span v-if="checkCreditLimit(order)">{{ priceTotal(true) }} seront débités</span> | <span v-if="checkCreditLimit(order)">{{ priceTotal(true) }} seront débités</span> | ||||
<span v-else> | <span v-else> | ||||
{{ formatPrice(user.credit) }} seront débités. (Limite de crédit à {{ formatPrice(producer.credit_limit) }})<br/> | |||||
{{ formatPrice(user.credit) }} seront débités. (Limite de cagnotte à {{ formatPrice(producer.credit_limit) }})<br/> | |||||
Restera {{ formatPrice(priceTotal() - user.credit) }} à régler. | Restera {{ formatPrice(priceTotal() - user.credit) }} à régler. | ||||
</span> | </span> | ||||
</template> | </template> | ||||
v-else-if="order != null && order.amount_paid > 0 && order.amount_paid < priceTotal()"> | v-else-if="order != null && order.amount_paid > 0 && order.amount_paid < priceTotal()"> | ||||
<span v-if="checkCreditLimit(order)">{{ formatPrice(priceTotal() - order.amount_paid) }} seront débités</span> | <span v-if="checkCreditLimit(order)">{{ formatPrice(priceTotal() - order.amount_paid) }} seront débités</span> | ||||
<span v-else> | <span v-else> | ||||
{{ formatPrice(user.credit) }} seront débités. (Limite de crédit à {{ formatPrice(producer.credit_limit) }})<br/> | |||||
{{ formatPrice(user.credit) }} seront débités. (Limite de cagnotte à {{ formatPrice(producer.credit_limit) }})<br/> | |||||
Restera {{ formatPrice(priceTotal() - order.amount_paid - user.credit) }} à régler. | Restera {{ formatPrice(priceTotal() - order.amount_paid - user.credit) }} à régler. | ||||
</span> | </span> | ||||
</template> | </template> |
<?php ActiveForm::end(); ?> | <?php ActiveForm::end(); ?> | ||||
</div> | </div> | ||||
<div class="col-lg-6"> | <div class="col-lg-6"> | ||||
<br /> | |||||
<div class="card"> | |||||
<div class="card-body"> | |||||
<h5 class="card-title"> | |||||
<i class="bi bi-geo-alt"></i> | |||||
Adresse | |||||
</h5> | |||||
<div class="card-text"> | |||||
<strong><?= Html::encode($producer->name); ?></strong><br /> | |||||
<?= nl2br(Html::encode($producer->address)); ?><br /> | |||||
<?= Html::encode($producer->postcode); ?> <?= Html::encode($producer->city); ?><br /> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<?php if($producer->website): ?> | <?php if($producer->website): ?> | ||||
<br /> | <br /> | ||||
<a href="<?= Html::encode($producer->website); ?>" target="_blank" class="btn btn-default"> | |||||
<br /> | |||||
<a href="<?= Html::encode($producer->website); ?>" target="_blank" class="btn btn-secondary"> | |||||
<i class="bi bi-globe"></i> | <i class="bi bi-globe"></i> | ||||
Site web | Site web | ||||
</a> | </a> |
width: 150px; | width: 150px; | ||||
} | } | ||||
/* line 147, ../sass/subscription/_form.scss */ | /* line 147, ../sass/subscription/_form.scss */ | ||||
.subscription-create .subscription-form .products .price-total, | |||||
.subscription-update .subscription-form .products .price-total { | |||||
font-family: 'worksans_bold'; | |||||
} | |||||
/* line 151, ../sass/subscription/_form.scss */ | |||||
.subscription-create .subscription-form .products .unit, | .subscription-create .subscription-form .products .unit, | ||||
.subscription-update .subscription-form .products .unit { | .subscription-update .subscription-form .products .unit { | ||||
color: gray; | color: gray; | ||||
font-size: 13px; | font-size: 13px; | ||||
} | } | ||||
/* line 152, ../sass/subscription/_form.scss */ | |||||
/* line 156, ../sass/subscription/_form.scss */ | |||||
.subscription-create .subscription-form .products tr.total .price-total, | .subscription-create .subscription-form .products tr.total .price-total, | ||||
.subscription-update .subscription-form .products tr.total .price-total { | .subscription-update .subscription-form .products tr.total .price-total { | ||||
text-align: center; | text-align: center; | ||||
font-size: 20px; | font-size: 20px; | ||||
} | } | ||||
/* line 156, ../sass/subscription/_form.scss */ | |||||
/* line 160, ../sass/subscription/_form.scss */ | |||||
.subscription-create .subscription-form .products tr.total .price-total span, | .subscription-create .subscription-form .products tr.total .price-total span, | ||||
.subscription-update .subscription-form .products tr.total .price-total span { | .subscription-update .subscription-form .products tr.total .price-total span { | ||||
font-family: 'worksans_bold'; | font-family: 'worksans_bold'; | ||||
color: white; | color: white; | ||||
font-size: 1.2rem; | font-size: 1.2rem; | ||||
} | } | ||||
/* line 167, ../sass/subscription/_form.scss */ | |||||
/* line 171, ../sass/subscription/_form.scss */ | |||||
.subscription-create .subscription-form .form-buttons, | .subscription-create .subscription-form .form-buttons, | ||||
.subscription-update .subscription-form .form-buttons { | .subscription-update .subscription-form .form-buttons { | ||||
text-align: center !important; | text-align: center !important; | ||||
} | } | ||||
/* line 170, ../sass/subscription/_form.scss */ | |||||
/* line 174, ../sass/subscription/_form.scss */ | |||||
.subscription-create .subscription-form .form-buttons button, | .subscription-create .subscription-form .form-buttons button, | ||||
.subscription-update .subscription-form .form-buttons button { | .subscription-update .subscription-form .form-buttons button { | ||||
display: inline-block; | display: inline-block; |
text-align: center ; | text-align: center ; | ||||
width: 150px ; | width: 150px ; | ||||
} | } | ||||
.price-total { | |||||
font-family: 'worksans_bold'; | |||||
} | |||||
.unit { | .unit { | ||||
color: gray ; | color: gray ; |