| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- @extends('layout.master', ['uid' => $user->_id, 'token' => $user->token_firebase])
- @section('page_title', 'Kompaun (Kertas Siasatan)')
- @section('sub_page_title', '')
- @section('name', $user->StaffDetail->full_name)
- @section('img_profile', $user->StaffDetail->profile_img)
-
- @section('content')
- <style type="text/css">
- select.form-control, select.form-control:focus, select.form-control:hover {
- border: 1px solid #ccc !important;
- height: auto !important;
- }
-
- .panel-group .panel {
- margin-bottom: 0;
- overflow: hidden;
- border-radius: 4px;
- }
- .panel-default {
- border-color: #ddd;
- }
- .panel-default>.panel-heading {
- color: #333;
- background-color: #f5f5f5;
- border-color: #ddd;
- }
- .panel-title {
- margin-top: 0;
- margin-bottom: 0;
- font-size: 16px;
- color: inherit;
- }
-
- .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{
- padding: 8px 15px;
- line-height: 1.428571429;
- vertical-align: top;
- border-top: 1px solid #ddd;
- }
- .panel-body { padding:0px; }
- .panel-body table tr td { padding-left: 15px }
- .panel-body table tr td a:hover , .panel-body div a:hover{ color: #d84315 !important; }
- .panel-body .table, .panel-body div {margin-bottom: 0px; }
-
- .glyphicon { margin-right:10px; }
- .active { color: #d84315; }
- .active:hover { color: #d84315; }
-
- #custom table {
- table-layout:fixed !important;
- border-collapse: collapse !important;
- width: 100%;
- word-wrap:break-word !important;
- }
- #custom td, #custom th {
- border-top: 1px solid #dee2e6;
- border-bottom: 1px solid #dee2e6;
- }
- .longtext{
- word-wrap: break-word !important;
- word-break: break-word !important;
- padding: 0.6rem 2rem;
- }
-
- .btn i {
- margin-right: 0px;
- }
-
- .post-timelines{ border-bottom: 1px solid #CCC !important; padding: 10px 20px !important;}
- </style>
-
- <div class="inner-page">
- <!-- Display message -->
- <div class="row">
- <div class="col-xl-12">
- @if(count($errors) > 0)
- <div class="alert alert-danger border-danger">
- <button type="button" class="close" data-dismiss="alert" aria-label="Close">
- <i class="icofont icofont-close-line-circled"></i>
- </button>
- <strong>Haraf Maaf!</strong><br>
- <ul>
- @foreach ($errors->all() as $error)
- <li>{{ $error }}</li>
- @endforeach
- </ul>
- </div>
- @endif
- </div>
- </div>
- <!-- End Display message -->
- <div class="row">
- <div class="col-xl-2 col-md-12">
- <div class="panel panel-default">
- <div class="panel-heading">
- <h4 class="panel-title"> Maklumat Terperinci </h4>
- </div>
-
- <div class="panel-body">
- @if($compound->status == 'Belum Bayar')
- @if($compound->modul == '02')
- <div><a href="{{ url('main/compound') }}/{{ $compound->non }}/index" class="{{ Request::is('main/compound/*/index') ? 'active' : '' }}">Garis Masa/Sejarah</a></div>
- @else
- <div><a href="{{ url('main/compound') }}/{{ $compound->kpd }}/index" class="{{ Request::is('main/compound/*/index') ? 'active' : '' }}">Garis Masa/Sejarah</a></div>
- <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}">Kompaun</a></div>
- @endif
-
- @if($compound->modul == '04')
- <!-- <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/investigation" class="{{ Request::is('main/compound/*/investigation') ? 'active' : '' }}">Pengesahan Kompaun</a></div> -->
- <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/memo" class="{{ Request::is('main/compound/*/memo') ? 'active' : '' }}">Memo/Nota</a></div>
- @elseif($compound->modul == '05')
- <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/notice" class="{{ Request::is('main/compound/*/notice') ? 'active' : '' }}">Notis Amaran</a></div>
- <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/memo" class="{{ Request::is('main/compound/*/memo') ? 'active' : '' }}">Memo/Nota</a></div>
- @elseif($compound->modul == '06')
- <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/inventory" class="{{ Request::is('main/compound/*/inventory') ? 'active' : '' }}">Inventori</a></div>
- <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/memo" class="{{ Request::is('main/compound/*/memo') ? 'active' : '' }}">Memo/Nota</a></div>
- @elseif($compound->modul == '07')
- <div><a href="{{ url('main/compound') }}/{{$compound->kpd}}/inventory/auction" class="{{ Request::is('main/compound/*/inventory/auction') ? 'active' : '' }}">Jualan Lelong</a></div>
- <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/memo" class="{{ Request::is('main/compound/*/memo') ? 'active' : '' }}">Memo/Nota</a></div>
- @endif
-
- @if($compound->modul == '02')
- <div><a target="_blank" href="{{ url('/main/compound') }}/{{$compound->non}}/pdf">Cetak/Papar PDF</a></div>
- <div><a href="{{ url('/main/compound') }}/{{$compound->non}}/task" class="{{ Request::is('main/compound/*/task') ? 'active' : '' }}">Serahan Modul/PenguatKuasa</a></div>
- @else
- <div><a target="_blank" href="{{ url('/main/compound') }}/{{$compound->kpd}}/pdf">Cetak/Papar PDF</a></div>
- <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}/task" class="{{ Request::is('main/compound/*/task') ? 'active' : '' }}">Serahan Modul/PenguatKuasa</a></div>
- @endif
-
- @elseif($compound->status == 'Berbayar')
- @if($compound->modul == '02')
- <div><a href="{{ url('main/compound') }}/{{ $compound->non }}/index" class="{{ Request::is('main/compound/*/index') ? 'active' : '' }}">Garis Masa/Sejarah</a></div>
- <div><a href="{{ url('/main/compound') }}/{{$compound->non}}" class="{{ Request::is('main/compound/*') ? 'active' : '' }}">Kompaun</a></div>
- <div><a target="_blank" href="{{ url('/main/compound') }}/{{$compound->non}}/pdf">Cetak/Papar PDF</a></div>
- @else
- <div><a href="{{ url('main/compound') }}/{{ $compound->kpd }}/index" class="{{ Request::is('main/compound/*/index') ? 'active' : '' }}">Garis Masa/Sejarah</a></div>
- <div><a href="{{ url('/main/compound') }}/{{$compound->kpd}}" class="{{ Request::is('main/compound/*') ? 'active' : '' }}">Kompaun</a></div>
- <div><a target="_blank" href="{{ url('/main/compound') }}/{{$compound->kpd}}/pdf">Cetak/Papar PDF</a></div>
- @endif
- @endif
- </div>
- </div>
- </div>
-
- <div class="col-xl-10 col-md-12">
- <div class="row">
- <div class="col-md-12">
- <div class="card">
- <div class="card-header">
- @if(empty($role))
- <h5 class="card-header-text">
- Maklumat Garis Masa [ No.Kompaun : <code>{{ $compound->kpd }}</code> | No.Siri : <code>{{ $file->no_siri }}</code> | Modul: <code>-</code>]
- </h5>
- @else
- <h5 class="card-header-text">
- Maklumat Garis Masa [ No.Kompaun : <code>{{ $compound->kpd }}</code> | No.Siri : <code>{{ $file->no_siri }}</code> | Modul: <code>{{ $role->name }}</code>]
- </h5>
- @endif
- </div>
- </div>
- </div>
- </div>
-
- <div id="timeline">
- @foreach($file->History as $h)
- <div class="f-30 text-muted text-center">{{ $h->tarikh_kumpulan }}</div>
- <div class="row">
- <div class="col-md-12 timeline-dot">
- @foreach($h->SubHistory as $sh)
- @if($sh->no_siri == $file->no_siri)
- <div class="social-timelines p-relative">
- <div class="row timeline-right p-t-35">
- <div class="col-2 col-sm-2 col-xl-1">
- <div class="social-timelines-left">
- <img class="img-radius timeline-icon" src=" ../files/assets/images/avatar-2.jpg" alt="">
- </div>
- </div>
- <div class="col-10 col-sm-10 col-xl-11 p-l-5 p-b-35">
- <div class="card">
- <div class="card-block post-timelines">
- <div class="social-time text-muted">{{ $sh->created_at->diffForHumans() }}</div>
- </div>
- <div class="card-block">
- <div class="timeline-details">
- <div class="chat-header">{{ $sh->tajuk }}</div>
- <p class="text-muted">{!! $sh->huraian !!}</p>
- </div>
- </div>
-
- </div>
- </div>
- </div>
- </div>
- @endif
- @endforeach
- </div>
- </div>
- @endforeach
- </div>
-
- </div>
-
- </div>
- </div>
- @endsection
-
- @section('external_js')
- <script type="text/javascript" src="{{ asset('js/toggle_button_edit.js') }}"></script>
-
- <script type="text/javascript">
- $.ajaxSetup({
- headers: {
- 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
- }
- });
-
- $(document).ready(function() {
-
- var origin = window.location.origin;
-
- $(".theme-loader").animate({
- opacity: "0"
- },1000);
- setTimeout(function() {
- $(".theme-loader").remove();
- }, 800);
-
- $('[data-toggle="tooltip"]').tooltip();
- });
- </script>
- @endsection
|