Download the PHP package thibaultvanc/facturation-regie without Composer
On this page you can find all versions of the php package thibaultvanc/facturation-regie. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thibaultvanc/facturation-regie
More information about thibaultvanc/facturation-regie
Files in thibaultvanc/facturation-regie
Package facturation-regie
Short Description This package allows you to manage your facturation
License MIT
Homepage https://github.com/thibaultvanc/facturation-regie
Informations about the package facturation-regie
Very short description of the package
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
Installation
You can install the package via composer:
Usage
1-edit config
To use this package you Need
- User model
- Project Model
- pointables Models (Task & Meeting)
- Invoice (planified)
Need to associate your Models with traits
User => FacturationRegie\Traits\RegieInvoicable\RegieUser Invoice => FacturationRegie\Traits\RegieInvoicable\RegieInvoice
Pointage => FacturationRegie\Traits\RegieInvoicable\RegiePointage
Project => FacturationRegie\Traits\RegieInvoicable\RegieProject
Task/Meeting => FacturationRegie\Traits\RegieInvoicable
exemple =>add RegieInvoicable trait on the table like Task / Meeting / Deplacement
Default forign key to determine the responsable is "responsable_id" Note : overwite the method to set a différent :
trasform a pointable (task / taskStatus / meeting)
adjust the date
overwrite the getPointageDate() method. Return a Carbon Instance. if this method does not exists, it take the current time
adjust the name
overwrite the getPointageName() method. Return a Carbon Instance. if this method does not exists, it take the current time
adjust the date
overwrite the getPointageDescription() method. Return a Carbon Instance. if this method does not exists, it take the current time
pointage scopes
You can combine like this :
Additional
You can scope by project
To do that, you need :
- on the Project Model add method ... ----------WIP--------