?> " /> </a> <div class="col"> <a href="<?php echo $href; ?> " class="offers-list-title"> <?php echo $exchange['brand']; ?> <?php echo $exchange['model']; ?> <?php echo $exchange['year']; ?> </a> <p> + <?php echo AmountService::getInstance()->getUsdPriceWithSymbol($proposition['amount_display']); ?> <?php echo $surcharge; ?> </p> </div> </div>
<?php use frontend\models\AmountService; ?> <?php // OFFER PRICE $offerUsdPrice = AmountService::getInstance()->getUsdPriceWithSymbol($offeringPrice, ' '); $offerUahPrice = AmountService::getInstance()->getUahPriceWithSymbol($offeringPrice); // MY PRICE $announcementUsdPrice = AmountService::getInstance()->getUsdPriceWithSymbol($announcementPrice, ' '); $announcementUahPrice = AmountService::getInstance()->getUahPriceWithSymbol($announcementPrice); ?> <div class="offers-list-p1"> <span><?php echo $offerUsdPrice; ?> </span> <?php echo $offerUahPrice; ?> </div> <div class="offers-list-p2"> <span><?php echo $announcementUsdPrice; ?> </span> <?php echo $announcementUahPrice;