deplay phase 1
This commit is contained in:
parent
e3dc1afd8e
commit
5a7478907e
68 changed files with 2831 additions and 818 deletions
|
|
@ -0,0 +1,44 @@
|
|||
diff --git a/app/Models/Lead.php b/app/Models/Lead.php
|
||||
index 8b84b9e..227bd38 100644
|
||||
--- a/app/Models/Lead.php
|
||||
+++ b/app/Models/Lead.php
|
||||
@@ -9,6 +9,7 @@ namespace App\Models;
|
||||
use Carbon\Carbon;
|
||||
use App\Services\Passolution;
|
||||
use App\Models\Lead as ModelsLead;
|
||||
+use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
|
||||
@@ -107,6 +108,8 @@ use Illuminate\Database\Eloquent\Collection;
|
||||
*/
|
||||
class Lead extends Model
|
||||
{
|
||||
+ use HasFactory;
|
||||
+
|
||||
protected $connection = 'mysql';
|
||||
|
||||
protected $table = 'lead';
|
||||
@@ -126,16 +129,14 @@ class Lead extends Model
|
||||
'travelcategory_id' => 'int',
|
||||
'price' => 'float',
|
||||
'pax' => 'int',
|
||||
- 'participant_salutation_id' => 'int'
|
||||
+ 'participant_salutation_id' => 'int',
|
||||
+ 'request_date' => 'datetime',
|
||||
+ 'travelperiod_start' => 'datetime',
|
||||
+ 'travelperiod_end' => 'datetime',
|
||||
+ 'next_due_date' => 'datetime',
|
||||
+ 'participant_birthdate' => 'datetime',
|
||||
];
|
||||
|
||||
- protected $dates = [
|
||||
- 'request_date',
|
||||
- 'travelperiod_start',
|
||||
- 'travelperiod_end',
|
||||
- 'next_due_date',
|
||||
- 'participant_birthdate'
|
||||
- ];
|
||||
|
||||
protected $fillable = [
|
||||
'customer_id',
|
||||
Loading…
Add table
Add a link
Reference in a new issue