Working on task kanban
This commit is contained in:
parent
648f6957e8
commit
9518f34fcb
2 changed files with 11 additions and 1 deletions
|
|
@ -14,7 +14,12 @@ class TaskKanbanController extends BaseController
|
|||
*/
|
||||
public function index()
|
||||
{
|
||||
$tasks = Task::scope()->with(['project', 'client', 'task_status'])->orderBy('task_status_sort_order')->get();
|
||||
$tasks = Task::scope()
|
||||
->with(['project', 'client', 'task_status'])
|
||||
->whereNull('invoice_id')
|
||||
->orderBy('task_status_sort_order')
|
||||
->get();
|
||||
|
||||
$statuses = TaskStatus::scope()->orderBy('sort_order')->get();
|
||||
$projects = Project::scope()->get();
|
||||
$clients = Client::scope()->get();
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
.kanban-column {
|
||||
background-color: #E9E9E9;
|
||||
padding: 10px;
|
||||
padding-bottom: 14px;
|
||||
height: 100%;
|
||||
width: 230px;
|
||||
margin-right: 12px;
|
||||
|
|
@ -27,6 +28,10 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
.kanban-column-last {
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
|
||||
.kanban-column-header {
|
||||
font-weight: bold;
|
||||
padding-bottom: 12px;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue