@csrf @if ($service != null && $service->invoice_id) @endif @if ($product != null) @php($pricings = $product->pricingAvailable())
@foreach ($pricings as $pricing) @endforeach
@endif
@include('admin/shared/input', ['name' => 'name', 'label' => __($translatePrefix . '.draft.name'), 'value' => $service != null ? $service->getInvoiceName() : $product->name ?? __($translatePrefix . '.customproduct')])
@include('admin/shared/input', ['name' => 'quantity', 'label' => __($translatePrefix . '.draft.quantity'), 'value' => $product->quantity ?? 1, 'min' => 1, 'step' => 1])
@include('admin/shared/input', ['name' => 'unit_price_ttc', 'label' => __($translatePrefix . '.draft.unitprice') . ' (TTC)', 'value' => $product->unit_price_ttc ?? 0, 'min' => 0, 'step' => 0.01])
@include('admin/shared/input', ['name' => 'unit_setup_ttc', 'label' => __($translatePrefix . '.draft.unitsetupfees') . ' (TTC)', 'value' => $product->unit_setup_ttc ?? 0, 'min' => 0, 'step' => 0.01])
@include('admin/shared/textarea', ['name' => 'description', 'label' => __($translatePrefix . '.draft.description'), 'value' => $product && $product->formattedDescription() ?? ($service->description ?? ''), 'rows' => 3])
@if (!empty($dataHTML)) {!! $dataHTML !!} @endif