%PDF- %PDF-
Direktori : /home/silvzytp/crm-dub-code/resources/views/backend/modal/ |
Current File : //home/silvzytp/crm-dub-code/resources/views/backend/modal/calling-render.blade.php |
<form method="POST" id="calling-update-form"> @csrf <input type="hidden" value="{{ $calling->id }}" name="calling_id"> <input type="hidden" value="{{ $calling->status }}" name="status_id"> <div class="row"> <div class="col-md-6 col-12"> <x-form.selectbox name="status" labelName="Status" required="required" onchange="selectStatus(this.value,{{ $calling->id }},{{ $calling->status }})"> <option value="">-- Select Status --</option> @forelse ($statuses as $status) <option value="{{ $status->id }}" @isset($calling) {{ $status->id == $calling->status ? 'selected' : '' }} @endisset>{{ $status->name }}</option> @empty @endforelse </x-form.selectbox> </div> <div class="col-md-6 col-12"> <x-form.selectbox name="sub_status" labelName="Sub Status" required="required"> <option value="">-- Select Sub Status --</option> </x-form.selectbox> </div> <div class="col-md-6 col-12 {{ $calling->reminder_date != '' ? '' : 'd-none' }}" id="reminder-date"> @if ($calling->reminder_date != '') <x-form.inputbox type="datetime-local" name="reminder_date" value="{{ date('Y-m-d\TH:i',strtotime($calling->reminder_date)) }}" labelName="Reminder Date" required="required"/> @else <x-form.inputbox type="datetime-local" name="reminder_date" labelName="Reminder Date"/> @endif </div> <div class="col-md-6 col-12"> <x-form.selectbox name="potential" labelName="Potential"> <option value="">-- Select Potential --</option> @foreach (POTENTIAL as $key=>$value) <option value="{{ $key }}" @isset($calling){{ $key == $calling->potential ? 'selected' : '' }}@endisset>{{ $value }}</option> @endforeach </x-form.selectbox> </div> <div class="col-md-6 col-12"> <x-form.textarea name="comment" labelName="Comment" value="{{ $calling->comment ?? '' }}"> </x-form.textarea> </div> <div class="col-md-6 col-12"> <x-form.textarea name="follow_up1" labelName="Follow Up 1" value="{{ $calling->follow_up1 ?? '' }}"> </x-form.textarea> </div> <div class="col-md-6 col-12"> <x-form.textarea name="follow_up2" labelName="Follow Up 2" value="{{ $calling->follow_up2 ?? '' }}"> </x-form.textarea> </div> <div class="col-md-6 col-12"> <x-form.textarea name="follow_up3" labelName="Follow Up 3" value="{{ $calling->follow_up3 ?? '' }}"> </x-form.textarea> </div> </div> <div class="text-right"> <button type="submit" class="btn btn-sm btn-primary" id="call_update"><span></span> Submit</button> </div> </form>