chess/resources/views/content/projects/kanbanProject.blade.php

66 lines
3.6 KiB
PHP
Raw Permalink Normal View History

2024-08-29 03:56:32 +00:00
@section('content')
<!--begin::Subheader-->
<div class="subheader py-2 py-lg-4 subheader-transparent" id="kt_subheader">
<div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
<!--begin::Info-->
<div class="d-flex align-items-center flex-wrap mr-1">
<!--begin::Page Heading-->
<div class="d-flex align-items-baseline flex-wrap mr-5">
<!--begin::Page Title-->
<h5 class="text-dark font-weight-bold my-1 mr-5">My Job in {{ $namaProject->project_name }}</h5>
<!--end::Page Title-->
</div>
<!--end::Page Heading-->
</div>
<!--end::Info-->
<!--begin::Toolbar-->
<div class="d-flex align-items-center">
@if($team_role_id == 1 || $team_role_id == 2)
<!--begin::Selectpicker-->
<select class="selectpicker mr-4" id="member_id_kb" title="Pilih Member" data-style="btn-info" onchange="changeKaban()">
<option value="">All Member!</option>
@if(!empty($member_team))
@foreach ($member_team as $mt)
<option value="{{ $mt->member_id }}" @if($mt->member_id==$member_id) selected @endif>{{ $mt->full_name.' ('.$mt->definition.')' }}</option>
@endforeach
@endif
</select>
<!--end::Selectpicker-->
@endif
<!--begin::Button-->
<a href="javascript:;" onclick="loadContent('detailProjects?id={{ $idProject }}&team_role_id={{ $team_role_id }}', this, event)" class="btn btn-info font-weight-bold">Kembali</a>
<!--end::Button-->
</div>
<!--end::Toolbar-->
</div>
</div>
<!--end::Subheader-->
<!--begin::Card-->
<div class="card card-custom gutter-b">
<div class="card-header">
<div class="card-title">
<h3 class="card-label">Task Working {{ $namaProject->project_name }}</h3>
</div>
@if($team_role_id == 1 || $team_role_id == 2)
<div class="card-toolbar">
<a href="javascript:;" onclick="generateTask('{{ $idProject }}')" class="btn btn-light-info btn-sm font-size-sm font-weight-bolder text-dark-75 mr-4" data-toggle="tooltip" title="" data-placement="left" data-original-title="Generate Task"><i class="la la-plus-circle"></i> Generate Task</a>
<a href="javascript:;" onclick="createNewTask()" class="btn btn-light-success btn-sm font-size-sm font-weight-bolder text-dark-75" data-toggle="tooltip" title="" data-placement="left" data-original-title="Create New Task"><i class="la la-plus-circle"></i> Create New Task</a>
</div>
@endif
</div>
<div class="card-body">
<input type="hidden" id="id_project_kb" value="{{ $idProject ?? '' }}">
<div id="kt_kanban_3"></div>
</div>
</div>
<!--end::Card-->
@include('content.projects.detailTask')
@include('content.projects.formTask')
@include('content.projects.formSubTask')
@include('content.projects.formGenerateTask')
@include('content.projects.lanjutkan_task')
@endsection
@section('script')
@include('content.projects.actionKanban')
@include('content.projects.actionForm')
@endsection