IMMREX7

aku nok ndi : /home/spdtg/www/schoolmis/resources/views/onlinereg/
File Up :
aku nok ndi : /home/spdtg/www/schoolmis/resources/views/onlinereg/uploaded-documents.blade.php

@extends('schools.school_layout')
@section('content')
<div class="row clearfix">
    <div class="col-sm-12">
        <div class="card">
            <div class="header">
                <h2><strong>Uploaded Documents </strong></h2>
            </div>
            <div class="body table-responsive">
                @if(isset($document) && !empty($document))
                <table class="table table-bordered table-striped table-hover">
                    <thead>
                        <tr>
                            <td>PHOTO</td>
                            <td><a href="{{url('/school/registration/'.$document->idRegDocument.'/photo/view')}}" target="_blank">View</a></td>
                        </tr>
                        <tr>
                            <td>Aadhaar Card</td>
                            <td><a href="{{url('/school/registration/'.$document->idRegDocument.'/aadharCopy/view')}}" target="_blank">View</a></td>
                        </tr>
                        @if($document->slc !=null)
                        <tr>
                            <td>School Leaving Certificate</td>
                            <td><a href="{{url('/school/registration/'.$document->idRegDocument.'/slc/view')}}" target="_blank">View</a></td>
                        </tr>
                        @endif
                        @if($document->migrationCertificate !=null)
                        <tr>
                            <td>Migration Certificate</td>
                            <td><a href="{{url('/school/registration/'.$document->idRegDocument.'/migrationCertificate/view')}}" target="_blank">View</a></td>
                        </tr>
                        @endif
                        @if($document->marksheet !=null)
                        <tr>
                            <td>Marksheet</td>
                            <td><a href="{{url('/school/registration/'.$document->idRegDocument.'/marksheet/view')}}" target="_blank">View</a></td>
                        </tr>
                        @endif
                        @if($document->otherdoc !=null)
                        <tr>
                            <td>Other Document</td>
                            <td><a href="{{url('/school/registration/'.$document->idRegDocument.'/'.$document->otherdoc)}}">View</a></td>
                        </tr>
                        @endif
                    </thead>
                </table>
                @else
                @if(isset($masters))
                @if($masters->count() > 0)
                <table class="table table-bordered table-striped table-hover">
                    <thead>
                        @foreach($masters as $docs)
                        <tr>
                            <td>{{$docs->documentName}}</td>
                            <td><a href="{{url('/school/registration/'.$docs->idRegistration.'/'.$docs->documentName.'/view')}}" target="_blank">View</a></td>
                        </tr>
                        @endforeach
                    </thead>
                </table>
                @endif
                @else
                <p>No Documents Found</p>
                @endif
                @endif
            </div>
        </div>
    </div>
</div>
@stop

Copyright © 2021 - 2025 IMMREX7