Dashboard sipadu mbip
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

history_detail.blade.php 7.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. @extends('layout.master', ['uid' => $user->_id, 'token' => $user->token_firebase])
  2. @section('page_title', 'Kompaun (Kertas Siasatan)')
  3. @section('sub_page_title', '')
  4. @section('name', $user->StaffDetail->full_name)
  5. @section('img_profile', $user->StaffDetail->profile_img)
  6. @section('content')
  7. <style type="text/css">
  8. select.form-control, select.form-control:focus, select.form-control:hover {
  9. border: 1px solid #ccc !important;
  10. height: auto !important;
  11. }
  12. .panel-group .panel {
  13. margin-bottom: 0;
  14. overflow: hidden;
  15. border-radius: 4px;
  16. }
  17. .panel-default {
  18. border-color: #ddd;
  19. }
  20. .panel-default>.panel-heading {
  21. color: #333;
  22. background-color: #f5f5f5;
  23. border-color: #ddd;
  24. }
  25. .panel-title {
  26. margin-top: 0;
  27. margin-bottom: 0;
  28. font-size: 16px;
  29. color: inherit;
  30. }
  31. .panel-body .table>thead>tr>th, .panel-body .table>tbody>tr>th, .panel-body .table>tfoot>tr>th, .panel-body .table>thead>tr>td, .panel-body .table>tbody>tr>td, .panel-body .table>tfoot>tr>td , .panel-body div{
  32. padding: 8px 15px;
  33. line-height: 1.428571429;
  34. vertical-align: top;
  35. border-top: 1px solid #ddd;
  36. }
  37. .panel-body { padding:0px; }
  38. .panel-body table tr td { padding-left: 15px }
  39. .panel-body table tr td a:hover , .panel-body div a:hover{ color: #d84315 !important; }
  40. .panel-body .table, .panel-body div {margin-bottom: 0px; }
  41. .glyphicon { margin-right:10px; }
  42. .active { color: #d84315; }
  43. .active:hover { color: #d84315; }
  44. #custom table {
  45. table-layout:fixed !important;
  46. border-collapse: collapse !important;
  47. width: 100%;
  48. word-wrap:break-word !important;
  49. }
  50. #custom td, #custom th {
  51. border-top: 1px solid #dee2e6;
  52. border-bottom: 1px solid #dee2e6;
  53. }
  54. .longtext{
  55. word-wrap: break-word !important;
  56. word-break: break-word !important;
  57. padding: 0.6rem 2rem;
  58. }
  59. .btn i {
  60. margin-right: 0px;
  61. }
  62. .post-timelines{ border-bottom: 1px solid #CCC !important; padding: 10px 20px !important;}
  63. </style>
  64. <div class="inner-page">
  65. <!-- Display message -->
  66. <div class="row">
  67. <div class="col-xl-12">
  68. @if(count($errors) > 0)
  69. <div class="alert alert-danger border-danger">
  70. <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  71. <i class="icofont icofont-close-line-circled"></i>
  72. </button>
  73. <strong>Haraf Maaf!</strong><br>
  74. <ul>
  75. @foreach ($errors->all() as $error)
  76. <li>{{ $error }}</li>
  77. @endforeach
  78. </ul>
  79. </div>
  80. @endif
  81. </div>
  82. </div>
  83. <!-- End Display message -->
  84. <div class="row">
  85. <div class="col-xl-2 col-md-12">
  86. <div class="panel panel-default">
  87. <div class="panel-heading">
  88. <h4 class="panel-title"> Maklumat Terperinci </h4>
  89. </div>
  90. <div class="panel-body">
  91. @if($compound->status == 'Belum Bayar')
  92. <div><a href="{{ url('main/compound') }}/{{ $compound->kpd }}/index" class="{{ Request::is('main/compound/*/index') ? 'active' : '' }}">Garis Masa/Sejarah</a></div>
  93. <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}">Kompaun</a></div>
  94. @if($compound->modul == '04')
  95. <!-- <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/investigation" class="{{ Request::is('main/compound/*/investigation') ? 'active' : '' }}">Pengesahan Kompaun</a></div> -->
  96. <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/memo" class="{{ Request::is('main/compound/*/memo') ? 'active' : '' }}">Memo/Nota</a></div>
  97. @elseif($compound->modul == '05')
  98. <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/notice" class="{{ Request::is('main/compound/*/notice') ? 'active' : '' }}">Notis Amaran</a></div>
  99. <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/memo" class="{{ Request::is('main/compound/*/memo') ? 'active' : '' }}">Memo/Nota</a></div>
  100. @elseif($compound->modul == '06')
  101. <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/inventory" class="{{ Request::is('main/compound/*/inventory') ? 'active' : '' }}">Inventori</a></div>
  102. <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/memo" class="{{ Request::is('main/compound/*/memo') ? 'active' : '' }}">Memo/Nota</a></div>
  103. @elseif($compound->modul == '07')
  104. <div><a href="{{ url('main/compound') }}/{{$compound->kpd}}/inventory/auction" class="{{ Request::is('main/compound/*/inventory/auction') ? 'active' : '' }}">Jualan Lelong</a></div>
  105. <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/memo" class="{{ Request::is('main/compound/*/memo') ? 'active' : '' }}">Memo/Nota</a></div>
  106. @endif
  107. <div><a target="_blank" href="{{ url('/main/compound') }}/{{$compound->kpd}}/pdf">Cetak/Papar PDF</a></div>
  108. <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/task" class="{{ Request::is('main/compound/*/task') ? 'active' : '' }}">Serahan Modul/PenguatKuasa</a></div>
  109. @elseif($compound->status == 'Berbayar')
  110. <div><a href="{{ url('main/compound') }}/{{ $compound->kpd }}/index" class="{{ Request::is('main/compound/*/index') ? 'active' : '' }}">Garis Masa/Sejarah</a></div>
  111. <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}" class="{{ Request::is('main/compound/*') ? 'active' : '' }}">Kompaun</a></div>
  112. <div><a target="_blank" href="{{ url('/main/compound') }}/{{$compound->kpd}}/pdf">Cetak/Papar PDF</a></div>
  113. @endif
  114. </div>
  115. </div>
  116. </div>
  117. <div class="col-xl-10 col-md-12">
  118. <div class="row">
  119. <div class="col-md-12">
  120. <div class="card">
  121. <div class="card-header">
  122. @if(empty($role))
  123. <h5 class="card-header-text">
  124. Maklumat Garis Masa [ No.Kompaun : <code>{{ $compound->kpd }}</code> | No.Siri : <code>{{ $file->no_siri }}</code> | Modul: <code>-</code>]
  125. </h5>
  126. @else
  127. <h5 class="card-header-text">
  128. Maklumat Garis Masa [ No.Kompaun : <code>{{ $compound->kpd }}</code> | No.Siri : <code>{{ $file->no_siri }}</code> | Modul: <code>{{ $role->name }}</code>]
  129. </h5>
  130. @endif
  131. </div>
  132. </div>
  133. </div>
  134. </div>
  135. <div id="timeline">
  136. @foreach($file->History as $h)
  137. <div class="f-30 text-muted text-center">{{ $h->tarikh_kumpulan }}</div>
  138. <div class="row">
  139. <div class="col-md-12 timeline-dot">
  140. @foreach($h->SubHistory as $sh)
  141. @if($sh->no_siri == $file->no_siri)
  142. <div class="social-timelines p-relative">
  143. <div class="row timeline-right p-t-35">
  144. <div class="col-2 col-sm-2 col-xl-1">
  145. <div class="social-timelines-left">
  146. <img class="img-radius timeline-icon" src=" ../files/assets/images/avatar-2.jpg" alt="">
  147. </div>
  148. </div>
  149. <div class="col-10 col-sm-10 col-xl-11 p-l-5 p-b-35">
  150. <div class="card">
  151. <div class="card-block post-timelines">
  152. <div class="social-time text-muted">{{ $sh->created_at->diffForHumans() }}</div>
  153. </div>
  154. <div class="card-block">
  155. <div class="timeline-details">
  156. <div class="chat-header">{{ $sh->tajuk }}</div>
  157. <p class="text-muted">{!! $sh->huraian !!}</p>
  158. </div>
  159. </div>
  160. </div>
  161. </div>
  162. </div>
  163. </div>
  164. @endif
  165. @endforeach
  166. </div>
  167. </div>
  168. @endforeach
  169. </div>
  170. </div>
  171. </div>
  172. </div>
  173. @endsection
  174. @section('external_js')
  175. <script type="text/javascript" src="{{ asset('js/toggle_button_edit.js') }}"></script>
  176. <script type="text/javascript">
  177. $.ajaxSetup({
  178. headers: {
  179. 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
  180. }
  181. });
  182. $(document).ready(function() {
  183. var origin = window.location.origin;
  184. $(".theme-loader").animate({
  185. opacity: "0"
  186. },1000);
  187. setTimeout(function() {
  188. $(".theme-loader").remove();
  189. }, 800);
  190. $('[data-toggle="tooltip"]').tooltip();
  191. });
  192. </script>
  193. @endsection