WordPress

Coming Soon

revealability
<?php $__env->startSection('title','Address Change Request'); ?> <?php $__env->startSection('main_container'); ?> <!-- partial --> <div class="main-panel"> <div class="content-wrapper"> <div class="page-header"> <h3 class="page-title"> </h3> <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="#">Home</a></li> <li class="breadcrumb-item active" aria-current="page">Address Change Request</li> </ol> <a href="" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal-4" data-whatever="@getbootstrap">Create Request</a> </nav> </div> <div class="col-md-4 grid-margin stretch-card"> <div class="modal fade" id="exampleModal-4" tabindex="-1" role="dialog" aria-labelledby="ModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="ModalLabel">New message</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> </div> <div class="modal-body"> <form action="<?php echo e(url('/addresschangestore')); ?>" method="post" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="form-group"> <label for="recipient-name" class="col-form-label">Subject:</label> <input type="text" class="form-control" name="subject" value="<?php echo e(old('subject')); ?>"> <?php if($errors->has('subject')): ?> <span class="text-danger" ><?php echo e(($errors->first('subject'))); ?></span> <?php endif; ?> </div> <div class="form-group"> <label for="message-text" class="col-form-label">Message:</label> <textarea class="form-control" name="message" ><?php echo e(old('message')); ?></textarea> <?php if($errors->has('message')): ?> <span class="text-danger" ><?php echo e(($errors->first('message'))); ?></span> <?php endif; ?> </div> <!-- <div class="form-group"> <label for="message-text" class="col-form-label">Attachment:</label> <input type="file" class="form-control" name="attachment" > </div> --> </div> <div class="modal-footer"> <button type="submit" class="btn btn-primary" name="submit" value="Send">Send message</button> <button type="button" class="btn btn-light" data-dismiss="modal">Close</button> </div> </form> </div> </div> </div> </div> <div class="row grid-margin"> <div class="col-12"> <div class="card"> <div class="card-body"> <h4 class="card-title">View Address Change Request </h4> <div class="col-lg-12 grid-margin stretch-card"> <div class="card"> <div class="card-body"> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th>#.</th> <th>Subject</th> <th>Message</th> <!-- <th>Attachment</th> --> <th>Status</th> <th>Action</th> </tr> </thead> <tbody> <?php if(!$addresschange ->isEmpty()): ?> <?php $__currentLoopData = $addresschange; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($data->status=='Pending' || $data->status=='Approved' || $data->status=='In Progress'): ?> <tr> <th scope="row"><?php echo $data->id?></th> <td><?php echo $data->subject?></td> <td><?php echo $data->message?></td> <!-- <td><?php if($data->attachment): ?> <a href="<?php echo e(URL::asset('Admin/upload/address_attachment').'/'.$data->attachment); ?>" target="_blank">view document</a></td> <?php else: ?> No Attachment <?php endif; ?> --> <?php if($data->status=='Approved'): ?> <td class="btn btn-brown btn-primary btn-fw btn-md" style="margin-top:12px;"><?php echo $data->status?></td> <td class="text-left"> <div class="actions"> <a class="btn btn-sm bg-success-light" href="<?php echo e(url('update_address/'.$data->customer_id)); ?>"> <i class="fa fa-edit" style="font-size: 2em;"></i><br>Update Address </a> </div> </td> <?php else: ?> <br> <td class="btn btn-warning btn-primary btn-fw btn-md" style="margin-top:12px;margin-bottom:12px;"><?php echo $data->status?><br></td> <td class="text-left"> <div class="actions"> <!-- <a class=" " href="#"> <i class="fa fa-trash" style="font-size: 2em;"></i> </a> --> <a href="javascript:void(0)" data-delete_url="<?php echo e(url('addressdelete/'.$data->id)); ?>" class="btnDel"> <i class="fa fa-trash" style="font-size: 2em;"></i> </a> </div> </td> <?php endif; ?> </tr> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <p class="text-danger mt-2" style="padding-left:450px;">No Data Available</p> <?php endif; ?> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> <!-- content-wrapper ends --> <?php $__env->stopSection(); ?> <?php echo $__env->make('User.Layout.main_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/karnava/public_html/center.karnavati.in/resources/views/User/address_request.blade.php ENDPATH**/ ?>