Users

Eloquent IFRS relies on authenticated users to identify the entity to which transactions belong. As such, there must be at least one registered user before the package can be used.

The users being referred to here are the same as the Laravel User Eloquent model that ships with a new laravel application as scaffolding.

Whatever your User model is, edit it to implement the below Traits so as to enable the model to function propoerly with the rest of the package.

<?php

use IFRS\Traits\IFRSUser;
use IFRS\Traits\ModelTablePrefix;
...

class User ... implements Recyclable {
	...
    use IFRSUser;
    use ModelTablePrefix;
	...
}
...
?>