@extends('layout.loggedin')

@section('page-css')
<style media="screen">

</style>
<link type="text/css" rel="stylesheet" href="{!! asset('css/jsgrid.min.css') !!}" />
<link type="text/css" rel="stylesheet" href="{!! asset('css/jsgrid-theme.min.css') !!}" />
@endsection

@section('content')
<section class="hero-wrap" style="background-image: url('{{ asset('images/h3.jpeg')}}'); background-attachment:fixed">
    <div class="overlay"></div>
    <div class="container">
        <div class="row description align-items-center justify-content-center">
            <div class="col-md-8 text-center">
                <div class="text">
                    <h2 class="mb-5 text-center">Fidelity Young Enterprenuer  <br> Initiative </h2>
                    <div class="designed d-inline-block">
                        <d class="d-flex align-items-center">
                            <div class="ml-3">
                                {{-- <p class="mb-0">Are you interested in developing your business’ financial skills through an innovative
                                    interactive learning experience to boost your business?</p> --}}
                            </div>
                        </d>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<section class="ftco-section bg-light pb-4 goto-here pb-0">
    <div class="container">
      <div class="card">
        <div class="card-header">
          <h5 class="text-center">Fidelity Young Enterprenuer Initiative<span class="float-right">
<a href="{!! route('download.form',$userdetails->id) !!}" class="btn btn-sm text-white" style="background-color:#f9971a"> <i class="ion-logo-download"></i> Download</a>
</span> </h5>
        </div>
        <div class="card-body">

          <br> <br>
          <h4 class="fid">Section A: Grant Application</h4> <hr>
          <table class="table table-bordered">

            <tbody>
              <tr>
                <td> <strong>A.1</strong> </td>
                <td> <strong>Grant Amount</strong> </td>
                <td>{{ $userdetails->grant_amt !== null ? 'GH₵ '.$userdetails->grant_amt.'.00' : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>A.2</strong></td>
                <td><strong>Purpose of Grant</strong></td>
                <td>{{ $userdetails->grant_purpose !== null ? $userdetails->grant_purpose : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>A.3</strong></td>
                <td><strong>Economic Sector</strong></td>
                <td>{{ $userdetails->eco_sector !== null ? $userdetails->eco_sector : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>A.4</strong></td>
                <td><strong>New to bank</strong></td>
                <td>{{ $userdetails->existing_customer !== null ? $userdetails->existing_customer : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>A.5</strong></td>
                <td><strong>Account Name</strong></td>
                <td>{{ $userdetails->exist_acc_name !== null ? $userdetails->exist_acc_name : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>A.6</strong></td>
                <td><strong>Account Number</strong></td>
                <td>{{ $userdetails->exist_acc_num !== null ? $userdetails->exist_acc_num : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>A.7</strong></td>
                <td><strong>Branch Name</strong></td>
                <td>{{ $userdetails->exist_acc_branch !== null ? $userdetails->exist_acc_branch : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>A.8</strong></td>
                <td><strong>Proposed Collateral</strong></td>
                <td>{{ $oppe->collateral !== null ? $oppe->collateral : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>A.9</strong></td>
                <td><strong>Tenor</strong></td>
                <td>{{ $oppe->tenor !== null ? $oppe->tenor : 'N/A' }}</td>
              </tr>
            </tbody>
          </table>

          <br>
          <h4 class="fid">Section B: Company Details</h4> <hr>
          <table class="table table-bordered">

            <tbody>
              <tr>
                <td><strong>B.1</strong></td>
                <td ><strong>Company Name</strong></td>
                <td colspan="2">{{ $userdetails->company_name !== null ? $userdetails->company_name : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>B.2</strong></td>
                <td><strong>Year of Registration</strong></td>
                <td colspan="2">{{ $userdetails->year_established !== null ? $userdetails->year_established : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>B.3</strong></td>
                <td><strong>TIN No.</strong></td>
                <td colspan="2">{{ $userdetails->tin_num !== null ? $userdetails->tin_num : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>B.4</strong></td>
                <td><strong>Physical Address</strong></td>
                <td colspan="2">{{ $userdetails->physical_address !== null ? $userdetails->physical_address : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>B.5</strong></td>
                <td><strong>City/Town / Area</strong></td>
                <td colspan="2">{{ $userdetails->city !== null ? $userdetails->city : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>B.6</strong></td>
                <td><strong>GPS Code</strong></td>
                <td colspan="2">{{ $userdetails->gps !== null ? $userdetails->gps : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>B.7</strong></td>
                <td><strong>Contact Person 1</strong></td>
                <td>{{ $userdetails->contact_p_1 !== null ? $userdetails->contact_p_1 : 'N/A' }}</td>
                <td><strong>Telephone No:</strong> {{ $userdetails->contact_p_1_num !== null ? $userdetails->contact_p_1_num : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>B.8</strong></td>
                <td><strong>Contact Person 2</strong></td>
                <td>{{ $userdetails->contact_p_2 !== null ? $userdetails->contact_p_2 : 'N/A' }}</td>
                <td><strong>Telephone No:</strong> {{ $userdetails->contact_p_2_num !== null ? $userdetails->contact_p_2_num : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>B.9</strong></td>
                <td><strong>Telephone number</strong></td>
                <td colspan="2">{{ $userdetails->telephone !== null ? $userdetails->telephone : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>B.10</strong></td>
                <td><strong>E-mail address</strong></td>
                <td colspan="2">{{ $userdetails->comp_email !== null ? $userdetails->comp_email : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>B.11</strong></td>
                <td><strong>Website(if available)</strong></td>
                <td colspan="2">{{ $userdetails->website !== null ? $userdetails->website : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>B.12</strong></td>
                <td><strong>Description of Business</strong></td>
                <td colspan="2">{{ $userdetails->business_desc !== null ? $userdetails->business_desc : 'N/A' }}</td>
              </tr>
              <tr>
                <td><strong>B.13</strong></td>
                <td><strong>State business associations you belong to</strong></td>
                <td colspan="2">{{ $oppe->business_assoc !== null ? $oppe->business_assoc: 'N/A' }}</td>
              </tr>

            </tbody>
          </table>
          <br>
          <h4 class="fid">Section C : Production/Operations</h4> <hr>
          <table class="table table-bordered">
            <tbody>
              <tr>
                <td><strong>C.1</strong></td>
                <td ><strong>Location of Business.(Brief description of your business location, mention availability of electricity, water, telecommunication facilities and road network)</strong></td>
              </tr>
              <tr>
                <td></td>
                <td>{{ $oppe->location_desc !== null ? $oppe->location_desc : 'N/A'}}</td>
              </tr>
            </tbody>
          </table>

          <table class="table table-bordered">
            <tbody>
              <tr>

                <td><strong>C.2</strong></td>
                <td ><strong>Buildings. (Brief description of buildings/structures used for your business)</strong></td>
              </tr>
              <tr>
                <td></td>
                <td>{{ $oppe->struct_desc !== null ? $oppe->struct_desc : 'N/A'}}</td>
              </tr>
            </tbody>
          </table>

          <table class="table table-bordered">
            <tbody>
              <tr >
                <td colspan="5"> <strong>C.3 List of machines, equipment and vehicles used for your business</strong></td>
              </tr>
              <tr>
                <td><strong>Item Description</strong></td>
                <td><strong>Quantity</strong></td>
                <td><strong>Age(Yrs)</strong></td>
                <td><strong>Present Condition</strong></td>
              </tr>
              @foreach ($mu as $mac)
                <tr>
                  <td>{{ $mac->item_desc !== null ? $mac->item_desc : 'N/A'}}</td>
                  <td>{{ $mac->qty !== null ? $mac->qty : 'N/A' }}</td>
                  <td>{{ $mac->age !== null ? $mac->age : 'N/A' }}</td>
                  <td>{{ $mac->present_condition !== null ? $mac->item_desc : 'N/A' }}</td>
                </tr>

              @endforeach
            </tbody>
          </table>

          <table class="table table-bordered">
            <tbody>
              <tr >
                <td colspan="5"> <strong>C.4 Provide list of additional machines, equipment, vehicle, and software required</strong></td>
              </tr>
              <tr>
                <td><strong>Item Description</strong></td>
                <td><strong>Quantity</strong></td>
                <td><strong>Source/Supplier</strong></td>
                <td><strong>Estimated Cost(GH₵)</strong></td>
              </tr>
              @foreach ($am as $addm)
                <tr>
                  <td>{{ $addm->item_desc }}</td>
                  <td>{{ $addm->qty }}</td>
                  <td>{{ $addm->supplier }}</td>
                  <td>{{ $addm->estimated_cost }}</td>
                </tr>

              @endforeach

            </tbody>
          </table>

          <table class="table table-bordered">
            <tbody>
              <tr >
                <td colspan="5"> <strong>How do you plan to finance the cost of these additional machinery and equipment?</strong></td>

              </tr>
              <tr >
                <td colspan="5"> {{$oppe->additional_cost}}</td>

              </tr>
            </tbody>
          </table>

          <table class="table table-bordered">
            <tbody>
              <tr >
                <td colspan="5"> <strong>C.5 Describe raw materials and inputs used and how you procure them. Are they readily available?</strong></td>

              </tr>
              <tr >
                <td colspan="5"> {{$oppe->raw_material}}</td>

              </tr>
            </tbody>
          </table>

          <table  class="table table-bordered table-responsive">
            <tbody>
              <tr >
                <td colspan="6"> <strong>C.6 Provide a brief description of your production levels</strong></td>
              </tr>
              <tr>
                <td rowspan="2"><strong>Product/Service</strong></td>
                <td rowspan="2"><strong>Annual Feasible Capacity (Units)</strong></td>
                <td rowspan="2"><strong>Past (2020)</strong></td>
                <td rowspan="2"><strong>Current (2021)</strong></td>
                <td colspan="2" class="text-center"><strong>Projected</strong></td>
              </tr>
              <tr>
                <td><strong>Year 1</strong></td>
                <td><strong>Year 2</strong></td>
              </tr>

              @foreach ($pl as $prolvl)
                <tr>
                  <td>{{ $prolvl->product }}</td>
                  <td>{{ $prolvl->annual_capacity }}</td>
                  <td>{{ $prolvl->past }}</td>
                  <td>{{ $prolvl->current }}</td>
                  <td >{{ $prolvl->year_1 }}</td>
                  <td >{{ $prolvl->year_2 }}</td>
                </tr>

              @endforeach

            </tbody>
          </table>
          <br>
          <h4 class="fid">Section D: Human Resource Management</h4> <hr>
          <table class="table table-bordered">
            <tbody>
              <tr >
                <td ><strong> How many workers do you currently employ?</strong></td>

              </tr>
              <tr >
                <td >{{$oppe->num_workers}}</td>

              </tr>
            </tbody>
          </table>
          <table class="table table-bordered">
            <tbody>
              <tr >
                <td ><strong>D.1 What is the number of women in leadership and management? Please explain</strong></td>

              </tr>
              <tr >
                <td >{{$oppe->women_in_lead != null ? $oppe->women_in_lead : 'N/A'}}</td>

              </tr>
            </tbody>
          </table>
          <table class="table table-bordered">
            <tbody>
              <tr >
                <td colspan="4"><strong> D.2 Personnel Structure</strong></td>
              </tr>
              <tr >
                <td colspan="1"><strong>Designation</strong></td>
                <td colspan="3"><strong>Number of Employees</strong></td>
              </tr>
              <tr>
                <td></td>
                <td><strong>Male</strong></td>
                <td><strong>Female</strong></td>
                <td><strong>How many are within the age range of (15-24)</strong></td>
              </tr>
              <tr>
                <td><strong>Permanent</strong></td>
                <td>{{ $oppe->perma_male }}</td>
                <td>{{ $oppe->perma_female }}</td>
                <td>{{ $oppe->perma_range }}</td>
              </tr>

              <tr>
                <td><strong>Hired</strong></td>
                <td>{{ $oppe->hired_male }}</td>
                <td>{{ $oppe->hired_female }}</td>
                <td>{{ $oppe->hired_range }}</td>
              </tr>

              <tr>
                <td><strong>Total</strong></td>
                <td>{{ $oppe->hired_male + $oppe->perma_male  }}</td>
                <td>{{ $oppe->hired_female + $oppe->perma_female }}</td>
                <td>{{ $oppe->hired_range + $oppe->perma_range}}</td>
              </tr>

            </tbody>
          </table>
          <table class="table table-bordered">
            <tbody>
              <tr >
                <td colspan="4"><strong> D.3 Provide the following information on Key Management/Operating Personnel</strong></td>
              </tr>
              <tr >
                <td ><strong>Name and designation</strong></td>
                <td ><strong>Academic/Professional Qualifications</strong></td>
                <td ><strong>Post Qualification Working Experience</strong></td>
                <td ><strong>No of Years with Company</strong></td>
              </tr>
              @foreach ($opp as $opper)
                <tr>
                  <td>{{ $opper->name }}</td>
                  <td>{{ $opper->academic_qua }}</td>
                  <td>{{ $opper->working_exp }}</td>
                  <td>{{ $opper->years_with_company }}</td>

                </tr>

              @endforeach
            </tbody>
          </table>
          <table class="table table-bordered">
            <tbody>
              <tr >
                <td ><strong>D.4 Governance. Do you have a Board? How often does the Board meet?</strong></td>

              </tr>
              <tr >
                <td >{{$oppe->board}}</td>

              </tr>
            </tbody>
          </table>

          {{-- <table class="table table-bordered">
            <tbody>
              <tr >
                <td colspan="4"><strong>D2 Provide the following information on your directors</strong></td>
              </tr>
              <tr >
                <td ><strong>Name</strong></td>
                <td ><strong>Academic/Professional Qualifications</strong></td>
                <td ><strong>Post Qualification Working Experience</strong></td>
                <td ><strong>No of Years as a Board Member</strong></td>
              </tr>
              @foreach ($dir as $dirs)
                <tr>
                  <td>{{ $dirs->name }}</td>
                  <td>{{ $dirs->academic_qua }}</td>
                  <td>{{ $dirs->working_exp }}</td>
                  <td>{{ $dirs->years_as_board }}</td>

                </tr>

              @endforeach

            </tbody>
          </table> --}}





          <br>
          <h4 class="fid">Section E: Market Information</h4> <hr>
          {{-- <table class="table table-bordered">
            <tbody>
              <tr >
                <td colspan="2"><strong> E.1 Please list the different types of products produced by your business and packaging used</strong></td>
              </tr>
              <tr >
                <td ><strong>Product/Service</strong></td>
                <td ><strong>Packaging Information</strong></td>

              </tr>
              @foreach ($ppl as $ppll)
                <tr>
                  <td>{{ $ppll->product }}</td>
                  <td>{{ $ppll->packaging }}</td>
                </tr>
              @endforeach
              <tr>
                <td colspan="2"><strong>E.2 Please state what is <em>innovative</em> about your products</strong></td>
              </tr>
              <tr>
                <td colspan="2">{{ $oppe->innovative_product }}</td>
              </tr>
            </tbody>
          </table> --}}

          {{-- <table class="table table-bordered">
            <tbody>
              <tr >
                <td> <strong>E2 How do you price your products? Describe your pricing policy</strong></td>

              </tr>
              <tr >
                <td > {{$oppe->price_policy}}</td>

              </tr>
            </tbody>
          </table> --}}
          {{--
          <table class="table table-bordered">
            <tbody>
              <tr >
                <td> <strong>E.3 How do you promote / market your products?</strong></td>

              </tr>
              <tr >
                <td > {{$oppe->promote_product}}</td>

              </tr>
            </tbody>
          </table>

          <table class="table table-bordered">
            <tbody>
              <tr >
                <td> <strong>E.4 How do you distribute your products?</strong></td>

              </tr>
              <tr >
                <td > {{$oppe->distribute_product}}</td>

              </tr>
            </tbody>
          </table> --}}

          <table class="table table-bordered">
            <tbody>
              <tr >
                <td> <strong>E.5 Who are your major customers (especially corporate ones)?</strong></td>

              </tr>
              <tr >
                <td > {{$oppe->major_customers}}</td>

              </tr>
            </tbody>
          </table>

          <table class="table table-bordered">
            <tbody>
              <tr >
                <td> <strong>E.6 Do you have an off taker/ Supermarket /Lead Company for your products? Describe the relationship</strong></td>

              </tr>
              <tr >
                <td > {{$oppe->off_taker}}</td>

              </tr>
            </tbody>
          </table>

          <table class="table table-bordered">
            <tbody>
              <tr >
                <td> <strong>E.7 Who are your major competitors; what do they do?</strong></td>

              </tr>
              <tr >
                <td > {{$oppe->major_competitor}}</td>

              </tr>
            </tbody>
          </table>

          <table class="table table-bordered">
            <tbody>
              <tr >
                <td> <strong>E.8 What do you do better than them?</strong></td>

              </tr>
              <tr >
                <td > {{$oppe->better_than}}</td>

              </tr>
            </tbody>
          </table>
          <br>
          <h4 class="fid">Section F: Business Strategy</h4> <hr>
          <table class="table table-bordered">
            <tbody>
              <tr >
                <td colspan="2"> <strong>F.1 Does Company have a Business Strategy or plan</strong></td>
                <td>{{ $oppe->business_plan }}</td>
              </tr>
              <tr >
                <td colspan="2"><strong>Vision (how do you see your business in the next five years)</strong></td>
          <td>{{ $oppe->vision }}</td>
              </tr>

              <tr >
                <td colspan="2"><strong>Mission Statement (What do you want your company to be known for)</strong></td>
          <td>{{ $oppe->mission }}</td>
              </tr>

              <tr >
                <td ><strong>Please state one short term, medium term, and long-term objectives for your business.</strong> <br> {{$oppe->strength}}</td>
                <td ><strong>Strengths</strong> <br> {{$oppe->business_obj}}</td>
          <td><strong>Weaknesses</strong> <br> {{$oppe->weakness}} </td>
              </tr>

              <tr >
                <td colspan="2"><strong>Opportunities</strong> <br> {{$oppe->opportunity}}</td>
          <td><strong>Threats</strong> <br> {{$oppe->threats}} </td>
              </tr>

            </tbody>
          </table>
          <table class="table table-bordered">
            <tbody>
              <tr>
                <td> <strong>F.2</strong> </td>
                <td> <strong>Have you applied for a loan before?</strong> </td>
                <td>{{ $oppe->applied_loan !== null ? $oppe->applied_loan: 'N/A' }}</td>
              </tr>
              <tr>
                <td> <strong>F.3</strong> </td>
                <td> <strong>Which financial institution provided the loaning facility</strong> </td>
                <td>{{ $oppe->applied_loan_facility !== null ? $oppe->applied_loan_facility: 'N/A' }}</td>
              </tr>

            </tbody>
          </table>
          {{-- <table class="table table-bordered">
            <tbody>
              <tr >
                <td colspan="4"> <strong>F2 Please provide the Credit History of your company</strong></td>
              </tr>
              <tr >
                <td> <strong>Name of Bank</strong> </td>
                <td> <strong>Date of Loan</strong> </td>
                <td> <strong>Amount</strong> </td>
                <td> <strong>Payment History</strong> </td>
              </tr>
              @foreach ($chis as $chistory)
                <tr>
                  <td>{{ $chistory->bank }}</td>
                  <td>{{ $chistory->loan_date }}</td>
                  <td>{{ $chistory->amt }}</td>
                  <td>{{ $chistory->payment_history }}</td>
                </tr>
              @endforeach

            </tbody>
          </table>
          <table class="table table-bordered">
            <tbody>
              <tr >
                <td> <strong>F3 Will other businesses benefit from the grant to your company.? Describe how?</strong></td>

              </tr>
              <tr >
                <td > {{$oppe->other_business_benefit}}</td>

              </tr>
            </tbody>
          </table> --}}
          <br>
          <h4 class="fid">Section G: Financial Performance</h4> <hr>
          <table class="table table-bordered table-responsive">
            <tbody>
              <tr >
                <td colspan="5"> <strong>G.1 Profit and Loss Account</strong></td>
              </tr>
              <tr>
                <td rowspan="2"><strong>Year</strong></td>
                <td rowspan="2"><strong>Past</strong></td>
                <td rowspan="2"><strong>Current</strong></td>
                <td colspan="2" class="text-center"><strong>Projected</strong></td>
              </tr>
              <tr>
                <td><strong>Year 1</strong></td>
                <td><strong>Year 2</strong></td>
              </tr>

              <tr>
                <td><strong>Sales</strong></td>
                <td>{{ $fp->sales_past }}</td>
                <td>{{ $fp->sales_current }}</td>
                <td>{{ $fp->sales_year_1 }}</td>
                <td>{{ $fp->sales_year_2 }}</td>
              </tr>
              <tr>
                <td><strong>Cost of Sales</strong></td>
                <td>{{ $fp->cost_sales_past }}</td>
                <td>{{ $fp->cost_sales_current }}</td>
                <td>{{ $fp->cost_sales_year_1 }}</td>
                <td>{{ $fp->cost_sales_year_2 }}</td>
              </tr>
              <tr>
                <td><strong>Gross Profit</strong></td>
                <td>{{ $fp->grossprofit_past }}</td>
                <td>{{ $fp->grossprofit_current }}</td>
                <td>{{ $fp->grossprofit_year_1 }}</td>
                <td>{{ $fp->grossprofit_year_2 }}</td>
              </tr>
              <tr>
                <td><strong>Add: Sundry Income if applicable</strong></td>
                <td>{{ $fp->sundry_past }}</td>
                <td>{{ $fp->sundry_current }}</td>
                <td>{{ $fp->sundry_year_1 }}</td>
                <td>{{ $fp->sundry_year_2 }}</td>
              </tr>
              <tr>
                <td><strong>Selling/Gen./Adm. Exp.</strong></td>
                <td>{{ $fp->selling_past }}</td>
                <td>{{ $fp->selling_current }}</td>
                <td>{{ $fp->selling_year_1 }}</td>
                <td>{{ $fp->selling_year_2 }}</td>
              </tr>
              <tr>
                <td><strong>Net Profit Before Tax</strong></td>
                <td>{{ $fp->netprofit_past }}</td>
                <td>{{ $fp->netprofit_current }}</td>
                <td>{{ $fp->netprofit_year_1 }}</td>
                <td>{{ $fp->netprofit_year_2 }}</td>
              </tr>
              <tr>
                <td><strong>Break Even Sales</strong></td>
                <td>{{ $fp->breakeven_past }}</td>
                <td>{{ $fp->breakeven_current }}</td>
                <td>{{ $fp->breakeven_year_1 }}</td>
                <td>{{ $fp->breakeven_year_2 }}</td>
              </tr>
            </tbody>
          </table>


          <table class="table table-bordered table-responsive">
            <tbody>
              <tr >
                <td colspan="5"> <strong>G.2 Balance Sheets</strong></td>
              </tr>
              <tr>
                <td rowspan="2"><strong>Year</strong></td>
                <td rowspan="2"><strong>Past</strong></td>
                <td rowspan="2"><strong>Current</strong></td>
                <td colspan="2" class="text-center"><strong>Projected</strong></td>
              </tr>
              <tr>
                <td><strong>Year 1</strong></td>
                <td><strong>Year 2</strong></td>
              </tr>

              <tr>
                <td><strong>Fixed Assets</strong></td>
                <td>{{ $fp->fixedassets_past }}</td>
                <td>{{ $fp->fixedassets_current }}</td>
                <td>{{ $fp->fixedassets_year_1 }}</td>
                <td>{{ $fp->fixedassets_year_2 }}</td>
              </tr>
              <tr>
                <td><strong>Current Assets</strong></td>
                <td>{{ $fp->currentassets_past }}</td>
                <td>{{ $fp->currentassets_current }}</td>
                <td>{{ $fp->currentassets_year_1 }}</td>
                <td>{{ $fp->currentassets_year_2 }}</td>
              </tr>
              <tr>
                <td><strong>Current Liabilities</strong></td>
                <td>{{ $fp->liability_past }}</td>
                <td>{{ $fp->liability_current }}</td>
                <td>{{ $fp->liability_year_1 }}</td>
                <td>{{ $fp->liability_year_2 }}</td>
              </tr>
              <tr>
                <td><strong>Working Capital</strong></td>
                <td>{{ $fp->capital_past }}</td>
                <td>{{ $fp->capital_current }}</td>
                <td>{{ $fp->capital_year_1 }}</td>
                <td>{{ $fp->capital_year_2 }}</td>
              </tr>
              <tr>
                <td><strong>Net Assets</strong></td>
                <td>{{ $fp->netassets_past }}</td>
                <td>{{ $fp->netassets_current }}</td>
                <td>{{ $fp->netassets_year_1 }}</td>
                <td>{{ $fp->netassets_year_2 }}</td>
              </tr>

            </tbody>
          </table>
          <table class="table table-bordered">
            <tbody>
              <tr >
                <td> <strong>Accounting Software. ( Do you use any accounting software in your business) If  Yes, mention the name of the software}</strong></td>

              </tr>
              <tr >
                <td > {{$oppe->acc_software}}</td>

              </tr>
            </tbody>
          </table>
          <br>
          <h4 class="fid">Section H: Monitoring & Evaluation And Key Performance Indicators</h4> <hr>
          <table class="table table-bordered table-responsive">
            <tbody>
              <tr >
                <td colspan="4"> <strong>H.1 Results. Please state how the grant and training will improve </strong></td>
              </tr>
              <tr>
                <td></td>
                <td ><strong>6 Months</strong></td>
                <td ><strong>1 Year</strong></td>
                <td ><strong>2 Year</strong></td>
              </tr>

          <tr>
            <td><strong>Turnover</strong></td>
            <td>{{ $kpi->turnover_six_months }}</td>
            <td>{{ $kpi->turnover_one_year }}</td>
            <td>{{ $kpi->turnover_two_year }}</td>
          </tr>
          <tr>
            <td><strong>Net Profit</strong></td>
            <td>{{ $kpi->netprofit_six_months }}</td>
            <td>{{ $kpi->netprofit_one_year }}</td>
            <td>{{ $kpi->netprofit_two_year }}</td>
          </tr>
          <tr>
            <td><strong>Number of New Jobs Created</strong></td>
            <td>{{ $kpi->newjobs_six_months }}</td>
            <td>{{ $kpi->newjobs_one_year }}</td>
            <td>{{ $kpi->newjobs_two_year }}</td>
          </tr>
          <tr>
            <td><strong>Annual Payroll</strong>  </td>
            <td>{{ $kpi->annualpay_six_months }}</td>
            <td>{{ $kpi->annualpay_one_year }}</td>
            <td>{{ $kpi->annualpay_two_year }}</td>
          </tr>
          <tr>
            <td><strong>Productivity</strong>  </td>
            <td>{{ $kpi->productivity_six_months }}</td>
            <td>{{ $kpi->productivity_one_year }}</td>
            <td>{{ $kpi->productivity_two_year }}</td>
          </tr>

            </tbody>
          </table>
          <table class="table table-bordered">
            <tbody>
              <tr >
                <td> <strong>Describe the estimated number of new jobs that will be created through the intervention.</strong></td>

              </tr>
              <tr >
                <td > {{$oppe->new_jobs}}</td>

              </tr>
            </tbody>
          </table>
          <table class="table table-bordered">
            <tbody>
              <tr >
                <td> <strong>Describe the impact your business will have on the Environment, Health, and safety of your workers through the intervention</strong></td>

              </tr>
              <tr >
                <td > {{$oppe->impact_safety}}</td>

              </tr>
            </tbody>
          </table>
          <br>
          <h4 class="fid">Declaration</h4> <hr>
          <p>I, {{ $userdetails->name }} declare that I am the owner of the company and all information provided here are true as at the time of application. If it should later transpire that information is false, I am willing to refund all costs including grant amount and related costs to the project <br>Date: @php
            echo date('d M, Y',strtotime($userdetails->created_at))
          @endphp </p>

          <h4 class="fid">File Attachments</h4> <hr>


          <div class="row">
            <div class="col-lg">
              <h6 class="fid text-center">Bank/Momo Statement</h6>
              @if ($bankmomo !== null)

                      @foreach ($bankmomo as $key)
                        <a href="{!! asset('storage/ApplicationImages/'.$key->bank_momo) !!}" download> <i class="fas fid fa-download"></i> Bank/Momo Statement File({{ $key->bank_momo }}) </a> <br>
                      @endforeach
                    @else
                      <p class="text-center">No Files Attached</p>
                    @endif
            </div>
            <div class="col-lg">
              <h6 class="fid text-center">Business Registrations</h6>
              @if ($busregs !== null)

                @foreach ($busregs as $key)
                  <a href="{!! asset('storage/ApplicationImages/'.$key->bus_regs) !!}" download> <i class="fas fid fa-download"></i> Business Registration File({{ $key->bus_regs }}) </a> <br>
                @endforeach
              @else
                <p class="text-center">No Files Attached</p>
              @endif
            </div>

            <div class="col-lg">
              <h6 class="fid text-center">Historical Financials</h6>
              @if ($hist !== null)

                @foreach ($hist as $key)
                  <a href="{!! asset('storage/ApplicationImages/'.$key->historical_financial) !!}" download> <i class="fas fid fa-download"></i> Historical Financial Statement File({{ $key->historical_financial }}) </a> <br>
                @endforeach
              @else
                <p class="text-center">No Files Attached</p>
              @endif
            </div>
          </div>
          <div class="row mt-3">
            <div class="col-lg">
              <h6 class="fid text-center">License</h6>
              @if ($license !== null)

                @foreach ($license as $key)
                  <a href="{!! asset('storage/ApplicationImages/'.$key->licenses) !!}" download> <i class="fas fid fa-download"></i> license File({{ $key->licenses }}) </a> <br>
                @endforeach
              @else
                <p class="text-center">No Files Attached</p>
              @endif
            </div>
            <div class="col-lg">
              <h6 class="fid text-center">Pitch Deck</h6>
              @if ($pitch !== null)

                @foreach ($pitch as $key)
                  <a href="{!! asset('storage/ApplicationImages/'.$key->pitchdeck) !!}" download> <i class="fas fid fa-download"></i> Pitch Deck File({{ $key->pitchdeck }}) </a> <br>
                @endforeach
                @else
                  <p class="text-center">No Files Attached</p>
              @endif
            </div>
            <div class="col-lg">
              <h6 class="fid text-center">Other files</h6>
              @if ($oppe->building_img !== null)
                <a style="text-decoration:none;" href="{!! asset('storage/ApplicationImages/'.$oppe->building_img) !!}" download> <i class="fas fa-download"></i> Picture of buildings or workspace</a> <br>
              @endif
              @if ($oppe->company_regulation !== null)
                <a style="text-decoration:none;" href="{!! asset('storage/ApplicationImages/'.$oppe->company_regulation) !!}" download> <i class="fas fa-download"></i> Copies of Company’s Regulations</a> <br>
              @endif
              @if ($oppe->tax_payment !== null)
                <a href="{!! asset('storage/ApplicationImages/'.$oppe->tax_payment) !!}" download> <i class="fas fa-download"></i> Tax and SSNIT Payment Evidence</a><br>
              @endif
              @if ($oppe->land_detail !== null)
                <a href="{!! asset('storage/ApplicationImages/'.$oppe->land_detail) !!}" download> <i class="fas fa-download"></i> Land Title Details or Rent Agreement Details</a><br>
              @endif
              @if ($oppe->org_chart !== null)
                <a href="{!! asset('storage/ApplicationImages/'.$oppe->org_chart) !!}" download> <i class="fas fa-download"></i> Organization Chart </a>
              @endif
            </div>
          </div>

                    </div>
                  </div>
        </div>
      </div>
							</div>

						</div>

					</div>
				</div>
			</div>
	  </section>
        </div>



    </div>
</section>

{{-- <section class="ftco-section bg- goto-here pb-0">
    <div class="container">
        <div class="row">
            <div class="col-lg">
                <img src="{!! asset('images/team.png') !!}" class="img-fluid" alt="">
            </div>
        </div>

</section> --}}
@endsection

@section('page-js')

@endsection
