{!! Form::open(['url' => action([\Modules\SupportTicket\Http\Controllers\SupportTicketController::class, 'store']), 'method' => 'post', 'id' => 'support_ticket_create_form']) !!}

@lang('lang_v1.raise_support_ticket')

{!! Form::hidden('purchase_line_id', $purchase_line->id) !!} @if(!empty($purchase_line->purchase_order_line)) @endif
@lang('sale.product') {{ $purchase_line->product->name }} @if(!empty($purchase_line->variations->name) && $purchase_line->variations->name != 'DUMMY') ({{ $purchase_line->variations->name }}) @endif
@lang('purchase.grn_no') {{ $purchase_line->transaction->ref_no }}
@lang('lang_v1.purchase_order') {{ $purchase_line->purchase_order_line->transaction->ref_no }}
@lang('purchase.quantity_damaged') {{ @format_quantity($purchase_line->quantity_damaged) }}
@lang('purchase.quantity_lost') {{ @format_quantity($purchase_line->quantity_lost) }}
@lang('purchase.damage_loss_reason') {{ !empty($purchase_line->damage_loss_reason) ? __('lang_v1.'.$purchase_line->damage_loss_reason) : '--' }}
@lang('purchase.damage_loss_note') {{ $purchase_line->damage_loss_note ?? '--' }}
{!! Form::close() !!}