worked on the new onboarding steps

This commit is contained in:
Kwesi Banson
2024-01-31 20:40:33 +00:00
parent bc97f69748
commit 7a64019001
184 changed files with 11292 additions and 173 deletions

View File

@@ -0,0 +1,17 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ClientOnboardingProgress extends Model
{
protected $guarded = array('id');
public $table = "client_onboarding_progress";
public function stage_info(){
return $this->hasOne('App\Models\ClientOnboardingMainStage', 'stage_id', 'id');
}
//this will produce one stage
//I need a relationship to show all sub items
}