index.blade.php 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. @extends('dev.core.using')
  2. @section('content')
  3. @include('templates.teknologi-bimbingan-sosialisasi.monev-sosialisasi.core.add')
  4. @include('templates.teknologi-bimbingan-sosialisasi.monev-sosialisasi.core.detail')
  5. @include('templates.teknologi-bimbingan-sosialisasi.monev-sosialisasi.core.edit')
  6. @include('templates.teknologi-bimbingan-sosialisasi.monev-sosialisasi.helpers.delete')
  7. @include('templates.teknologi-bimbingan-sosialisasi.monev-sosialisasi.helpers.print-search')
  8. @include('templates.teknologi-bimbingan-sosialisasi.monev-sosialisasi.helpers.unduh-search')
  9. @include('templates.helpers.delete')
  10. @include('templates.helpers.export')
  11. @include('templates.helpers.import')
  12. @include('templates.teknologi-bimbingan-sosialisasi.monev-sosialisasi.dev.data')
  13. <?php $getStatus = \App\Model\Privillage\Role::where('id',Auth::user()->role_id)->value('akses'); ?>
  14. <style>
  15. #example_filter{position: absolute; right: 20px;}
  16. </style>
  17. @if($getStatus != 'administator')
  18. <?php
  19. $upts = \App\Model\Setting\UPT::where('office_id',$changeUPT)->select('office_name')->distinct()->value('office_name');
  20. ?>
  21. <br>
  22. <br>
  23. <div style="margin-bottom: 20px;">
  24. <div class="card shadow" style="border:1px solid #dedede;">
  25. <div class="card-header bg-transparent">
  26. <div class="row align-items-center">
  27. <div class="col">
  28. <center>
  29. <h4 class="mb-0"><i class="fas fa-building"></i>&nbsp;&nbsp;{{strtoupper($getStatus)}} {{$upts}}</h4>
  30. </center>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. @endif
  37. @include('templates.helpers.teknologi-bimbingan-sosialisasi.monev-sosialisasi.maps')
  38. <div class="container" style="margin-top: 40px;">
  39. <br>
  40. @include('templates.helpers.teknologi-bimbingan-sosialisasi.monev-sosialisasi.chart-search')
  41. </div>
  42. <div class="row mt-5">
  43. <div class="col text-left" style="padding-bottom: 10px;">
  44. <?php
  45. $url = \Request::route()->getName();
  46. $getKdModule = DB::table('modules')->where('menu_path',$url)->value('kdModule');
  47. $getCreate = DB::table('role_acl')
  48. ->where('module_id', $getKdModule)->where('role_id',Auth::user()->role_id)
  49. ->value('create_acl');
  50. $getRead = DB::table('role_acl')
  51. ->where('module_id', $getKdModule)->where('role_id',Auth::user()->role_id)
  52. ->value('read_acl');
  53. ?>
  54. @if($getCreate == $getKdModule)
  55. <a href="#" class="btn btn-sm btn-primary" data-toggle="modal" data-target="#addModal"><i class="ni ni-fat-add"></i>&nbsp;TAMBAH DATA</a>
  56. @endif
  57. @if($getRead == $getKdModule)
  58. <a class="btn btn-sm btn-info" style="color: white;" data-toggle="modal" data-target="#searchIndexPrint"><i class="ni ni-single-copy-04"></i>&nbsp;DOWNLOAD AS PDF</a>
  59. <a class="btn btn-sm btn-danger" style="color: white;" data-toggle="modal" data-target="#downloadIndexSearch"><i class="ni ni-cloud-download-95"></i>&nbsp;DOWNLOAD AS XLS</a>
  60. @endif
  61. </div>
  62. <div class="col-xl-12 mb-5 mb-xl-0">
  63. <div class="card shadow" style="border:1px solid #dedede;">
  64. <div class="card-header border-0" style="background-color: #5f5f5f;">
  65. <div class="row align-items-center">
  66. <div class="col">
  67. <h3 class="mb-0" style="color: #fff;"><i class="ni ni-archive-2"></i>&nbsp;&nbsp;EVALUASI CAPAIAN PELAKSANAAN SOSIALISASI DAN BIMTEK PERIZINAN SFR DAN SOR</h3>
  68. </div>
  69. </div>
  70. </div>
  71. <div class="table-responsive">
  72. <div class="widest">
  73. @include('templates.teknologi-bimbingan-sosialisasi.monev-sosialisasi.core.table')
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. @include('templates.helpers.teknologi-bimbingan-sosialisasi.monev-sosialisasi.js-search')
  80. @endsection