Download the PHP package dcodegroup/laravel-myob-employee without Composer
On this page you can find all versions of the php package dcodegroup/laravel-myob-employee. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dcodegroup/laravel-myob-employee
More information about dcodegroup/laravel-myob-employee
Files in dcodegroup/laravel-myob-employee
Package laravel-myob-employee
Short Description This package provides base functionality for linking a user with MYOB
License MIT
Informations about the package laravel-myob-employee
Laravel MYOB Timesheet Sync
This package provides the standard MYOB functionality for syncing MYOB Employee ID with users and assigning pay rates to users.
Installation
You can install the package via composer:
Then run the install command.
This will publish the configuration and migrations file
Run the migrations
Configuration
After running install the following fields will be added to the users table.
- myob_employee_id
- myob_employee_payroll_details_id
- myob_employee_payment_details_id
- myob_employee_standard_pay_id
You will need to add these fields to your fillable array within the User::class model
You also need to add the following interface to the User::class model.
You should then implement the methods defined in the contract. eg Like below but what ever your using
You should add the following trait to the Users model.
This package provides a route that can be used to provide an endpoint to dispatch the SyncMyobEmployee job.
[example.com/myob-employee/{user}] xero_employee.sync Please see the config file if you wish to customise the route. This will dispatch the job for the user and sync them to your application.
All versions of laravel-myob-employee with dependencies
dcodegroup/laravel-configuration Version ^0.1
dcodegroup/laravel-myob-oauth Version ^0.1
laravel/framework Version ^8.0|^9.0