Optimise charge table, implemented charge recording, optimised payment recording
This commit is contained in:
@@ -16,6 +16,7 @@ use App\Traits\NextKey;
|
||||
* Attributes for accounts:
|
||||
* + lid: : Local ID for account
|
||||
* + sid: : System ID for account
|
||||
* + name: : Account Name
|
||||
*
|
||||
* @package App\Models
|
||||
*/
|
||||
@@ -48,6 +49,11 @@ class Account extends Model implements IDs
|
||||
|
||||
/* RELATIONS */
|
||||
|
||||
public function charges()
|
||||
{
|
||||
return $this->hasMany(Charge::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the country the user belongs to
|
||||
*/
|
||||
|
Reference in New Issue
Block a user