@extends('layouts.app') @section('title', 'Add BOQs') @section('content')
@if($method=='POST')
Add BOQs
@else
Edit BOQs
@endif
Back
{{-- Alert Messages --}} @include('common.alert')
@if($method=='POST')
Add New BOQs
@else
Edit BOQs
@endif
@csrf @if ($method === 'PUT') @method('PUT') @endif
*
Title
@error('title')
{{ $message }}
@enderror
*
BOQs Category
Choose a BOQs Category
@if(count($boqcategories)>0) @foreach ($boqcategories as $boqcategory)
id ? "selected" : "" }} {{ $boqcategory->id === @$boq->boq_category_id ? 'selected' : '' }}>{{$boqcategory->boq_category_name}}
@endforeach @endif
@error('boq_category_id')
{{ $message }}
@enderror
{{-- Product Image --}}
Product Image (Upto 5 MB)
@error('product_image')
{{$message}}
@enderror @if($boq->product_image!="")
@endif
{{-- Product Brochure 1 label--}}
Button 1 label
@error('product_brochure_lable')
{{ $message }}
@enderror
{{-- Product Brochure 1--}}
Product Brochure 1 (Upto 10 MB)
@error('product_brochure')
{{$message}}
@enderror @if($boq->product_brochure!="")
@endif
{{-- Product Brochure 2 label--}}
Button 2 label
@error('product_brochure_other_lable')
{{ $message }}
@enderror
{{-- Product Brochure 1--}}
Product Brochure 2 (Upto 10 MB)
@error('product_brochure_other')
{{$message}}
@enderror @if($boq->product_brochure_other!="")
@endif
{{-- External Link 1 label--}}
External Link 1 label
@error('external_link_lable')
{{ $message }}
@enderror
{{-- External Link 1--}}
External Link 1
@error('external_link')
{{ $message }}
@enderror
{{-- External Link 2 label--}}
External Link 1 label
@error('external_link_other_lable')
{{ $message }}
@enderror
{{-- External Link 2--}}
External Link 2
@error('external_link_other')
{{ $message }}
@enderror
*
Description
{{ old('description', $boq->description ?? '') }}
@error('description')
{{ $message }}
@enderror
@endsection @push('script') @endpush