This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (min-width: 780px) and (max-width: 1200px) { | |
.eban { | |
background: green; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (min-width: 780px) and (max-width: 1200px) { | |
.eban { | |
background: green; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (min-width: 780px) and (max-width: 1200px) { | |
.eban { | |
background: green; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="header-navi header-city"> | |
<div class="city"> | |
<p>Москва</p> | |
<p class="header-navi1i"><a href="#">Сменить город</a></p> | |
</div> | |
<div class="header-navii contacty"> | |
<a href="#">+7 (495) 660-11-11</a> | |
<p class="header-navi1i"><a href="#">8 терминалов</a></p> | |
<p class="header-navi1i"><a href="#">все филиалы</a></p> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.header-logo { | |
width: 52%; | |
} | |
.header-navi.contacty { | |
float: right; | |
width: 50%; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AppBundle\DataFixtures\ORM; | |
use AppBundle\Entity\Ride; | |
use AppBundle\Service\BookingChargeChargerService; | |
use Doctrine\Common\DataFixtures\AbstractFixture; | |
use Doctrine\Common\DataFixtures\OrderedFixtureInterface; | |
use Doctrine\Common\Persistence\ObjectManager; | |
use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AppBundle\DataFixtures\ORM; | |
use AppBundle\Entity\Ride; | |
use AppBundle\Service\BookingChargeChargerService; | |
use Doctrine\Common\DataFixtures\AbstractFixture; | |
use Doctrine\Common\DataFixtures\OrderedFixtureInterface; | |
use Doctrine\Common\Persistence\ObjectManager; | |
use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$this->context->buildViolation(sprintf("Siccome \"Trasforma la prenotazione in un pacchetto turistico\" è spuntato, il campo \"Regime IVA\" dev'essere \"booking_optional.iva_regimen.%s\"", BookingOptional::IVA_REGIMEN_PERCENT_VALUE_74)) | |
->atPath("ivaRegimen") | |
->addViolation(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AppBundle\Validator\BookingOptional; | |
use Proxies\__CG__\AppBundle\Entity\BookingOptional; | |
use Symfony\Component\Validator\Constraint; | |
use Symfony\Component\Validator\ConstraintValidator; | |
/** | |
* Class IsValidSelectedIvaRegimenValidator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
->add('ride', 'filter_collection_adapter', array( | |
'type' => new BookingOptionalRideToFilterType(), | |
'label' => 'Corsa', | |
'add_shared' => function (FilterBuilderExecuterInterface $qbe) { | |
$closure = function (QueryBuilder $filterBuilder, $alias, $joinAlias, Expr $expr) { | |
$filterBuilder->leftJoin('AppBundle:RideSelector', 'rideSelector', 'WITH rideSelector.object_class = \'AppBundle\Entity\BookingOptional\''); | |
//$filterBuilder->leftJoin('AppBundle:Ride', 'ride', 'ON ride.id IN (rideSelector.ride_tags)'); | |
}; | |
// then use the query builder executor to define the join, the join's alias and things to do on the doctrine query builder. |