File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class Lead extends Model
39
39
*/
40
40
public function notes (): HasMany
41
41
{
42
- return $ this ->hasMany (\Tepuilabs \SimpleCrm \ Models \Note::class);
42
+ return $ this ->hasMany (\App \ Models \ Tepuilabs \SimpleCrm \Note::class);
43
43
}
44
44
45
45
/**
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function author(): MorphTo
33
33
34
34
public function lead (): BelongsTo
35
35
{
36
- return $ this ->belongsTo (\Tepuilabs \SimpleCrm \ Models \Lead::class);
36
+ return $ this ->belongsTo (\App \ Models \ Tepuilabs \SimpleCrm \Lead::class);
37
37
}
38
38
39
39
public static function getPriorities (): array
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ class SimpleCrmServiceProvider extends ServiceProvider
9
9
public function boot (): void
10
10
{
11
11
if ($ this ->app ->runningInConsole ()) {
12
+
12
13
$ this ->publishes ([
13
14
__DIR__ . '/../models ' => app_path ('Models/Tepuilabs/SimpleCrm ' ),
14
15
], 'simple-crm-models ' );
You can’t perform that action at this time.
0 commit comments