clients profile,slack, new email, bug fixes

This commit is contained in:
Kwesi Banson
2023-04-17 20:25:52 +00:00
parent a8301660fc
commit 903c1703b9
37 changed files with 2031 additions and 165 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ClientShortCode extends Model
{
protected $guarded = array('id');
public $table = "client_short_codes";
public function client_info(){
return $this->hasOne('App\Models\Client', 'id', 'client_id');
}
public function update_info(){
return $this->hasOne('App\Models\SystemUser', 'id', 'last_updated_by');
}
}