<?php $__env->startSection('css'); ?>
  <style>
  .rounded-20 .card-header:first-child{
    border-radius: 20px 20px 0 0;
  }

  </style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
  <div class="media mg-b-20 ">
    <div class="image-wrapper rounded-10 mg-r-20 " style="aspect-ratio:1/1;width:120px;padding:5px">
      <img src="<?php echo e((!empty($data['penerima-manfaat']->logo) ? asset('storage/'.$data['penerima-manfaat']->logo) : asset('assets/images/image-default.jpg') )); ?>" alt="" class="rounded-10">
    </div>
    <div class="media-body align-self-center ">
      <h5 class="mb-0"><?php echo e($data['penerima-manfaat']->nama_sekolah); ?></h5>
      <div class="mg-b-10">NPSN. <?php echo e($data['penerima-manfaat']->npsn); ?></div>
      <a class="btn btn-xs btn-primary" href="<?php echo e(route('form_penerima_manfaat',['id'=>$data['penerima-manfaat']->id])); ?>" >Edit Sekolah</a>
      
    </div>
  </div>
  <div class="card card-table rounded-20" style="min-height: calc(100vh - 275px )">
    <div class="card-header">
      <ul class="nav nav-pills">
        <li class="nav-item">
          <a class="nav-link <?php echo e(($tab == 'informasi' ? 'active' : null )); ?>" href="<?php echo e(route('detail_penerima_manfaat',['id'=>$data['penerima-manfaat']->id,'tab'=>'informasi'])); ?>">Informasi Sekolah</a>
        </li>
        <li class="nav-item">
          <a class="nav-link <?php echo e(($tab == 'alamat_kontak' ? 'active' : null )); ?>" href="<?php echo e(route('detail_penerima_manfaat',['id'=>$data['penerima-manfaat']->id,'tab'=>'alamat_kontak'])); ?>">Alamat dan Kontak</a>
        </li>
        <li class="nav-item">
          <a class="nav-link <?php echo e(($tab == 'peserta_didik' ? 'active' : null )); ?>" href="<?php echo e(route('detail_penerima_manfaat',['id'=>$data['penerima-manfaat']->id,'tab'=>'peserta_didik'])); ?>">Peserta Didik</a>
        </li>
      </ul>
    </div>
    <div class="card-body">
      <?php echo $__env->make('penerima_manfaat.detail.'.$tab, \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    </div>
  </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/dailfalahi/Sites/rantai_pasok/code/resources/views/penerima_manfaat/detail/index.blade.php ENDPATH**/ ?>