Open
Description
I found some relative routes that might cause errors in certain environments.
ie: resources/views/tasks/show.blade.php
:line 269
...
$('#add-invoice-line-modal .modal-content').load('/add-invoice-lines/{{$tasks->external_id}}' + '/task');
...
Can cause errors in example on localhost routes:
expected: http://localhost/daybydaycrm/public/add-invoice-lines/id/task
what you actually get: http://localhost/add-invoice-lines/id/task
An easy solution might be using laravel URL helper:
...
$('#add-invoice-line-modal .modal-content').load('{{url('/add-invoice-lines/'.$tasks->external_id)}}' + '/task');
...
I'm trying to collect all of this routes to fix them
Should I make a PR after fixing them or is it too specific?