1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Working on task kanban

This commit is contained in:
Hillel Coren 2017-12-19 21:31:23 +02:00
parent 648f6957e8
commit 9518f34fcb
2 changed files with 11 additions and 1 deletions

View File

@ -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();

View File

@ -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;