Devis
in package
Tags
Table of Contents
- $articles : Details|Collection
- $client : Client|null
- $commande : Commande|null
- $date : DateTime
- $dateUpdate : DateTime
- $echangeClients : EchangeClient|Collection
- $etapes : Etapes|Collection
- $id : int|null
- $infos : string|null
- $intervention : Intervention|null
- $numero : string|null
- $pj : PieceJointe|Collection
- $prestation : Prestation|Collection
- $remise : float|null
- $reparation : Reparation|null
- $retour_atelier : bool|null
- $service : string|null
- $status : Status|null
- __construct() : mixed
- __toString() : mixed
- addArticle() : self
- addEchangeClient() : self
- addEtape() : self
- addPj() : self
- addPrestation() : self
- clearArticle() : mixed
- clearPrestation() : mixed
- containsArticle() : bool
- existFraisKm() : bool
- existMO() : bool
- getArticle() : mixed
- getArticles() : Collection
- getClient() : Client|null
- getCommande() : Commande|null
- getCommandeFournisseur() : Commande|null
- getDate() : string|null
- getDateObject() : DateTime
- getDateUpdate() : string
- getEchangeClients() : Collection
- getEtapes() : Collection
- getFormattedDate() : mixed
- getFraisKm() : Details|null
- getId() : int|null
- getInfos() : string|null
- getIntervention() : Intervention|null
- getMO() : Details|null
- getNumero() : string|null
- getPj() : Collection
- getPrestation() : Collection
- getReference() : mixed
- getRemise() : float|null
- getReparation() : Reparation|null
- getRetourAtelier() : bool|null
- getService() : string|null
- getStatus() : Status|null
- getSumService() : int
- getTotalHT() : float
- getTotalTTC() : float|int
- getTotalTVA() : float
- hasArticles() : bool
- hasCommande() : bool
- hasCommandeFournisseur() : bool|null
- hasComposant() : bool
- hasEtapes() : mixed
- hasIntervention() : bool
- hasPrestation() : bool
- hasReference() : bool
- hasReparation() : bool
- removeArticle() : self
- removeEchangeClient() : self
- removeEtape() : self
- removePj() : self
- removePrestation() : self
- setArticles() : mixed
- setClient() : self
- setCommande() : self
- setDate() : self
- setDateUpdate() : self
- setInfos() : self
- setIntervention() : self
- setMO() : mixed
- setNumero() : self
- setRemise() : self
- setReparation() : self
- setRetourAtelier() : self
- setService() : self
- setStatus() : self
- updateDistanceDevis() : mixed
- updateHeureDevis() : mixed
Properties
$articles
private
Details|Collection
$articles
Tags
$client
private
Client|null
$client
Tags
$commande
private
Commande|null
$commande
Tags
$date
private
DateTime
$date
Tags
$dateUpdate
private
DateTime
$dateUpdate
Tags
$echangeClients
private
EchangeClient|Collection
$echangeClients
Tags
$etapes
private
Etapes|Collection
$etapes
Tags
$id
private
int|null
$id
Tags
$infos
private
string|null
$infos
Tags
$intervention
private
Intervention|null
$intervention
Tags
$numero
private
string|null
$numero
Tags
$pj
private
PieceJointe|Collection
$pj
Tags
$prestation
private
Prestation|Collection
$prestation
Tags
$remise
private
float|null
$remise
Tags
$reparation
private
Reparation|null
$reparation
Tags
$retour_atelier
private
bool|null
$retour_atelier
Tags
$service
private
string|null
$service
Tags
$status
private
Status|null
$status
Tags
Methods
__construct()
public
__construct([mixed $client = null ][, mixed $numero = '' ][, mixed $status = null ]) : mixed
Parameters
- $client : mixed = null
- $numero : mixed = ''
- $status : mixed = null
Return values
mixed —__toString()
public
__toString() : mixed
Return values
mixed —addArticle()
public
addArticle(Details $article) : self
Parameters
- $article : Details
Return values
self —addEchangeClient()
public
addEchangeClient(EchangeClient $echangeClient) : self
Parameters
- $echangeClient : EchangeClient
Return values
self —addEtape()
public
addEtape(Etapes $etape) : self
Parameters
- $etape : Etapes
Return values
self —addPj()
public
addPj(PieceJointe $pj) : self
Parameters
- $pj : PieceJointe
Return values
self —addPrestation()
public
addPrestation(Prestation $prestation) : self
Parameters
- $prestation : Prestation
Return values
self —clearArticle()
public
clearArticle() : mixed
Return values
mixed —clearPrestation()
public
clearPrestation() : mixed
Return values
mixed —containsArticle()
public
containsArticle(mixed $item) : bool
Parameters
- $item : mixed
Return values
bool —existFraisKm()
public
existFraisKm() : bool
Return values
bool —existMO()
public
existMO() : bool
Return values
bool —getArticle()
public
getArticle(mixed $item) : mixed
Parameters
- $item : mixed
Return values
mixed —getArticles()
public
getArticles() : Collection
Return values
Collection —getClient()
public
getClient() : Client|null
Return values
Client|null —getCommande()
public
getCommande() : Commande|null
Return values
Commande|null —getCommandeFournisseur()
public
getCommandeFournisseur() : Commande|null
Return values
Commande|null —getDate()
public
getDate() : string|null
Return values
string|null —getDateObject()
public
getDateObject() : DateTime
Return values
DateTime —getDateUpdate()
public
getDateUpdate() : string
Return values
string —getEchangeClients()
public
getEchangeClients() : Collection
Return values
Collection —getEtapes()
public
getEtapes() : Collection
Return values
Collection —getFormattedDate()
public
getFormattedDate([mixed $date = null ]) : mixed
Parameters
- $date : mixed = null
Return values
mixed —getFraisKm()
public
getFraisKm() : Details|null
Return values
Details|null —getId()
public
getId() : int|null
Return values
int|null —getInfos()
public
getInfos() : string|null
Return values
string|null —getIntervention()
public
getIntervention() : Intervention|null
Return values
Intervention|null —getMO()
public
getMO() : Details|null
Return values
Details|null —getNumero()
public
getNumero() : string|null
Return values
string|null —getPj()
public
getPj() : Collection
Return values
Collection —getPrestation()
public
getPrestation() : Collection
Return values
Collection —getReference()
public
getReference() : mixed
Return values
mixed —getRemise()
public
getRemise() : float|null
Return values
float|null —getReparation()
public
getReparation() : Reparation|null
Return values
Reparation|null —getRetourAtelier()
public
getRetourAtelier() : bool|null
Return values
bool|null —getService()
public
getService() : string|null
Return values
string|null —getStatus()
public
getStatus() : Status|null
Return values
Status|null —getSumService()
public
getSumService() : int
Return values
int —getTotalHT()
public
getTotalHT(mixed $tva) : float
Parameters
- $tva : mixed
Return values
float —getTotalTTC()
public
getTotalTTC() : float|int
Return values
float|int —getTotalTVA()
public
getTotalTVA(mixed $tva) : float
Parameters
- $tva : mixed
Return values
float —hasArticles()
public
hasArticles() : bool
Return values
bool —hasCommande()
public
hasCommande() : bool
Return values
bool —hasCommandeFournisseur()
public
hasCommandeFournisseur() : bool|null
Return values
bool|null —hasComposant()
public
hasComposant() : bool
Return values
bool —hasEtapes()
public
hasEtapes() : mixed
Return values
mixed —hasIntervention()
public
hasIntervention() : bool
Return values
bool —hasPrestation()
public
hasPrestation() : bool
Return values
bool —hasReference()
public
hasReference() : bool
Return values
bool —hasReparation()
public
hasReparation() : bool
Return values
bool —removeArticle()
public
removeArticle(Details $article) : self
Parameters
- $article : Details
Return values
self —removeEchangeClient()
public
removeEchangeClient(EchangeClient $echangeClient) : self
Parameters
- $echangeClient : EchangeClient
Return values
self —removeEtape()
public
removeEtape(Etapes $etape) : self
Parameters
- $etape : Etapes
Return values
self —removePj()
public
removePj(PieceJointe $pj) : self
Parameters
- $pj : PieceJointe
Return values
self —removePrestation()
public
removePrestation(Prestation $prestation) : self
Parameters
- $prestation : Prestation
Return values
self —setArticles()
public
setArticles(mixed $articles) : mixed
Parameters
- $articles : mixed
Return values
mixed —setClient()
public
setClient(Client|null $client) : self
Parameters
- $client : Client|null
Return values
self —setCommande()
public
setCommande(Commande|null $commande) : self
Parameters
- $commande : Commande|null
Return values
self —setDate()
public
setDate(DateTimeInterface $date) : self
Parameters
- $date : DateTimeInterface
Return values
self —setDateUpdate()
public
setDateUpdate(DateTimeInterface|null $dateUpdate) : self
Parameters
- $dateUpdate : DateTimeInterface|null
Return values
self —setInfos()
public
setInfos(string|null $infos) : self
Parameters
- $infos : string|null
Return values
self —setIntervention()
public
setIntervention(Intervention|null $intervention) : self
Parameters
- $intervention : Intervention|null
Return values
self —setMO()
public
setMO(Details $mo) : mixed
Parameters
- $mo : Details
Return values
mixed —setNumero()
public
setNumero(string $numero) : self
Parameters
- $numero : string
Return values
self —setRemise()
public
setRemise(float|null $remise) : self
Parameters
- $remise : float|null
Return values
self —setReparation()
public
setReparation(Reparation|null $reparation) : self
Parameters
- $reparation : Reparation|null
Return values
self —setRetourAtelier()
public
setRetourAtelier(bool|null $retour_atelier) : self
Parameters
- $retour_atelier : bool|null
Return values
self —setService()
public
setService(string|null $service) : self
Parameters
- $service : string|null
Return values
self —setStatus()
public
setStatus(Status|null $status) : self
Parameters
- $status : Status|null
Return values
self —updateDistanceDevis()
public
updateDistanceDevis(mixed $km, mixed $tarif) : mixed
Parameters
- $km : mixed
- $tarif : mixed
Return values
mixed —updateHeureDevis()
public
updateHeureDevis(mixed $heure, mixed $tarif) : mixed
Parameters
- $heure : mixed
- $tarif : mixed