@if($basket->order_formular && $basket->order_formular->formular && $basket->order_formular->formular->discount)
@php
$percent = (($basket->price_product * $basket->quantity) * $basket->order_formular->formular->discount) / 100;
$amount = $basket->price_product * $basket->quantity - $percent;
@endphp
${{$amount}}
- ({{$basket->order_formular->formular->discount}}%)
@else
${{$basket->price_product * $basket->quantity}}
@endif