Titans : Novel Invite made all form fileds hidden in HO View 2
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m12s Details

This commit is contained in:
Farhan Pathan 2026-07-06 15:15:59 +05:30
parent d6aef8e354
commit 2e7c3f1a2e
1 changed files with 197 additions and 159 deletions

View File

@ -1,4 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<head>
@include('layouts.shared/title-meta', ['title' => "Form"])
@ -36,6 +37,36 @@
@if(isset($form->user_info))
<div class="col-12">
<h6>Submitted By: {{$form->user_info->name}}</h6>
@if(isset($form->is_approval) && $form->is_approval == 'yes')
@if(isset($submitted_formdata->genareted_image[0]))
@php
$imageUrl = asset('storage/personalized/'.$submitted_formdata->form_id.'/'.$submitted_formdata->genareted_image[0]);
@endphp
<div class="col-12 mb-3">
<label class="form-label">
<strong>Generated Invitation Preview</strong>
</label>
<div class="mt-2">
<img src="{{ $imageUrl }}"
class="img-fluid img-thumbnail"
style="max-width:100%;">
</div>
{{-- <div class="mt-3">
<a href="{{ $imageUrl }}"
download="{{ $submitted_formdata->genareted_image[0] }}"
class="btn btn-success">
<i class="mdi mdi-download"></i> Download Invitation
</a>
</div> --}}
</div>
@endif
@endif
</div>
@endif
@ -77,6 +108,7 @@
</div>
@endif
@if(!isset($form->is_approval) || $form->is_approval != 'yes')
@foreach($questions as $question)
@if (in_array($question->code, ['execution_date','executed_as_per_plan' ,'revised_start_time','patient_screened','patients_diagnosed','rxn_of_montair_lc_adult','rxn_of_montair_lc_kid_tab','rxn_of_montair_lc_kid_syrup','rxn_of_furamist','rxn_of_furamist_az','total_rxns']))
@ -177,6 +209,7 @@
@endswitch
</div>
@endforeach
@endif
@if(!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes' ) )
<div class="text-center d-grid mt-3">
<button class="btn btn-primary" type="submit" id="submit-btn"> Submit </button>
@ -197,6 +230,7 @@
<!-- end container -->
</div>
<!-- end page -->
<style type="text/css">
#pageloader {
background: rgba( 255, 255, 255, 0.8 );
@ -215,8 +249,11 @@
top: 50%;
}
</style>
@include('layouts.shared/footer-script')
<script src="{{asset('assets/libs/sweetalert2/sweetalert2.min.js')}}"></script>
<script type="text/javascript">
jQuery(document).ready(function($){
$('#field-user_id').change(function(){
@ -314,6 +351,7 @@
plandateField.setAttribute('max', today);
});
</script>
</body>
</html>