Commit 43cb0434 by Francisco Salazar

Cambio modelos de Interested (cuidado)

parent 74555a06
...@@ -6,7 +6,7 @@ use Illuminate\Http\Request; ...@@ -6,7 +6,7 @@ use Illuminate\Http\Request;
use App\Http\Requests; use App\Http\Requests;
use App\Http\Controllers\Controller; use App\Http\Controllers\Controller;
use Yajra\Datatables\Datatables; use Yajra\Datatables\Datatables;
use App\Interested; use Onestartup\CrmForms\Model\Interested;
use Onestartup\Crm\Tracing; use Onestartup\Crm\Tracing;
use Onestartup\Crm\DataTables\InterestedDataTable; use Onestartup\Crm\DataTables\InterestedDataTable;
......
...@@ -21,6 +21,6 @@ class Tracing extends Model ...@@ -21,6 +21,6 @@ class Tracing extends Model
public function interested() public function interested()
{ {
return $this->belongsTo('App\Interested', 'interested_id'); return $this->belongsTo('Onestartup\CrmForms\Model\Interested', 'interested_id');
} }
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
namespace Onestartup\Crm\DataTables; namespace Onestartup\Crm\DataTables;
use App\Interested; use Onestartup\CrmForms\Model\Interested;
use Yajra\DataTables\Services\DataTable; use Yajra\DataTables\Services\DataTable;
class InterestedDataTable extends DataTable class InterestedDataTable extends DataTable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment