?> <?php echo Yii::t('CargoModule.default', 'Запрос ставки'); ?> <?php } else { ?> <?php foreach ($Cargo->cost as $cost) { ?> <div> <?php echo isset($cost['value']) ? $cost['value'] : ''; ?> <span class="cost-cur"><?php echo isset($cost['currency_id']) ? Cargo::enumCurrency($cost['currency_id']) : ''; ?> </span> <span class="cost-type"><?php echo isset($cost['type_id']) ? Cargo::enumCostType($cost['type_id']) : ''; ?> </span> <span class="cost-cash"><?php echo isset($cost['nds_include']) && isset($cost['cash']) && $cost['nds_include'] == '0' && $cost['cash'] == '0' ? Yii::t('CargoModule.default', 'с НДС') : ''; ?> </span> <span class="cost-cash"><?php echo isset($cost['nds_include']) && isset($cost['cash']) && $cost['nds_include'] == '1' && $cost['cash'] == '0' ? Yii::t('CargoModule.default', 'без НДС') : ''; ?> </span> <span class="cost-cash"><?php