mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 00:11:35 +02:00
Working on task kanban
This commit is contained in:
parent
a355ab0d67
commit
cb4edaedc6
@ -18,9 +18,14 @@ class TaskKanbanController extends BaseController
|
||||
->with(['project', 'client', 'task_status'])
|
||||
->whereNull('invoice_id')
|
||||
->orderBy('task_status_sort_order')
|
||||
->orderBy('id')
|
||||
->get();
|
||||
|
||||
$statuses = TaskStatus::scope()
|
||||
->orderBy('sort_order')
|
||||
->orderBy('id')
|
||||
->get();
|
||||
|
||||
$statuses = TaskStatus::scope()->orderBy('sort_order')->get();
|
||||
$projects = Project::scope()->get();
|
||||
$clients = Client::scope()->get();
|
||||
|
||||
|
@ -259,8 +259,7 @@
|
||||
callback(response);
|
||||
},
|
||||
error: function(error) {
|
||||
console.log('error');
|
||||
console.log(error);
|
||||
swal("{{ trans('texts.error_refresh_page') }}");
|
||||
},
|
||||
}).always(function() {
|
||||
setTimeout(function() {
|
||||
@ -270,7 +269,6 @@
|
||||
}
|
||||
|
||||
self.onStatusDragged = function(dragged) {
|
||||
console.log('onStatusDragged..');
|
||||
var status = dragged.item;
|
||||
status.sort_order(dragged.targetIndex);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user