Commit 05f3b603b8eac97d9592b8c1b77449f7b65fae68

Authored by Alexey Boroda
1 parent 2f93741f

-Print fix

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
views/order/print.php
@@ -152,7 +152,7 @@ use yii\widgets\DetailView; @@ -152,7 +152,7 @@ use yii\widgets\DetailView;
152 </div> 152 </div>
153 <div> 153 <div>
154 <div style="display: inline-block; padding-right: 10px"><strong><?php echo $order->getAttributeLabel('total').': '.\Yii::$app->formatter->asDecimal($order->total); ?> грн.</strong></div> 154 <div style="display: inline-block; padding-right: 10px"><strong><?php echo $order->getAttributeLabel('total').': '.\Yii::$app->formatter->asDecimal($order->total); ?> грн.</strong></div>
155 -<div style="display: inline-block"><strong><?php echo $order->getAttributeLabel('delivery_cost').': '.\Yii::$app->formatter->asDecimal($order->delivery_cost); ?></strong></div> 155 +<div style="display: inline-block"><strong><?php echo $order->getAttributeLabel('delivery_cost').': '.\Yii::$app->formatter->asText($order->delivery_cost); ?></strong></div>
156 </div> 156 </div>
157 <div style="border-bottom: 4px dotted #a1a1a1; width: 100%; margin: 20px 0"></div> 157 <div style="border-bottom: 4px dotted #a1a1a1; width: 100%; margin: 20px 0"></div>
158 <div> 158 <div>