@@ -28,7 +28,7 @@ |
||
28 | 28 | public function report(Exception $e) |
29 | 29 | { |
30 | 30 | // sentry logging |
31 | - if ($this->shouldReport($e)) { |
|
31 | + if ($this->shouldReport($e)) { |
|
32 | 32 | app('sentry')->captureException($e); |
33 | 33 | } |
34 | 34 | return parent::report($e); |
@@ -6,19 +6,19 @@ discard block |
||
6 | 6 | |
7 | 7 | class Invoice_detail extends Model |
8 | 8 | { |
9 | - protected $table = 'trn_invoice_details'; |
|
9 | + protected $table = 'trn_invoice_details'; |
|
10 | 10 | |
11 | - protected $fillable = [ |
|
11 | + protected $fillable = [ |
|
12 | 12 | 'item_name', |
13 | - 'plan_id', |
|
14 | - 'item_description', |
|
15 | - 'invoice_id', |
|
16 | - 'item_amount', |
|
17 | - 'created_by', |
|
18 | - 'updated_by', |
|
19 | - ]; |
|
13 | + 'plan_id', |
|
14 | + 'item_description', |
|
15 | + 'invoice_id', |
|
16 | + 'item_amount', |
|
17 | + 'created_by', |
|
18 | + 'updated_by', |
|
19 | + ]; |
|
20 | 20 | |
21 | - public function createdBy() |
|
21 | + public function createdBy() |
|
22 | 22 | { |
23 | 23 | return $this->belongsTo('App\User','created_by'); |
24 | 24 | } |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | |
31 | 31 | public function Invoice() |
32 | 32 | { |
33 | - return $this->belongsTo('App\Invoice','invoice_id'); |
|
33 | + return $this->belongsTo('App\Invoice','invoice_id'); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | public function Plan() |
@@ -20,21 +20,21 @@ |
||
20 | 20 | |
21 | 21 | public function createdBy() |
22 | 22 | { |
23 | - return $this->belongsTo('App\User','created_by'); |
|
23 | + return $this->belongsTo('App\User', 'created_by'); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | public function updatedBy() |
27 | 27 | { |
28 | - return $this->belongsTo('App\User','updated_by'); |
|
28 | + return $this->belongsTo('App\User', 'updated_by'); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | public function Invoice() |
32 | 32 | { |
33 | - return $this->belongsTo('App\Invoice','invoice_id'); |
|
33 | + return $this->belongsTo('App\Invoice', 'invoice_id'); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | public function Plan() |
37 | 37 | { |
38 | - return $this->belongsTo('App\Plan','plan_id'); |
|
38 | + return $this->belongsTo('App\Plan', 'plan_id'); |
|
39 | 39 | } |
40 | 40 | } |