@extends('layouts.layoutapp') @section('content')
Convert Quote
@csrf
Client Name:
Client Number:
@forelse ($clients as $data)
client->user->phone == $data->user->phone ? 'selected' : '' }}> {{ $data->user->phone }}
@empty
No Client found
@endforelse
@error('client_num')
{{ $message }}
@enderror
Quotes Id:
Quotes Date:
Due Date:
Status
status == 3 ? 'selected' : '' }}>Draft
Product Details:
Add Row
@foreach($quote->quotesItem as $index => $item) @php $product = $products->firstWhere('id', $item->product_id); $available_qty = $product ? $product->qty : 0; @endphp @endforeach
#
Product
Avl. Qty
Qty
Unit Price
Amount
Action
{{ $index + 1 }}
Select Product
@foreach ($products as $product)
product_id == $product->id ? 'selected' : '' }}> {{ $product->code }}-{{ $product->name }}
@endforeach
Discount type:
Select discount type
{{-- @foreach ($discount_types as $type)
discount_type == $type->id ? 'selected' : '' }}> {{ $type->type }}
@endforeach --}}
Discount:
discount }}" --}}="" disabled="">
Sub Total:
{{ $quote->sub_total }} ₹
Discount:
{{ $quote->discount_amount }} ₹
Total:
{{ $quote->total_amount }} ₹
@endsection @push('scripts') @endpush