Documentation

Devis
in package

Tags
ORM\Entity

(repositoryClass=DevisRepository::class)

Table of Contents

$articles  : mixed
$client  : mixed
$commande  : mixed
$date  : mixed
$dateUpdate  : mixed
$echangeClients  : mixed
$etapes  : mixed
$id  : mixed
$infos  : mixed
$intervention  : mixed
$numero  : mixed
$pj  : mixed
$prestation  : mixed
$remise  : mixed
$reparation  : mixed
$retour_atelier  : mixed
$service  : mixed
$status  : mixed
__construct()  : mixed
__toString()  : mixed
addArticle()  : self
addEchangeClient()  : self
addEtape()  : self
addPj()  : self
addPrestation()  : self
clearArticle()  : mixed
clearPrestation()  : mixed
containsArticle()  : mixed
existFraisKm()  : mixed
existMO()  : mixed
getArticle()  : mixed
getArticles()  : Collection
getClient()  : Client|null
getCommande()  : Commande|null
getCommandeFournisseur()  : Commande|null
getDate()  : string|null
getDateUpdate()  : mixed
getEchangeClients()  : Collection
getEtapes()  : Collection
getFormattedDate()  : mixed
getId()  : int|null
getInfos()  : string|null
getIntervention()  : Intervention|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
getTotalHT()  : mixed
getTotalTTC()  : mixed
getTotalTVA()  : mixed
hasCommande()  : bool
hasCommandeFournisseur()  : bool|null
hasIntervention()  : mixed
hasReparation()  : mixed
removeArticle()  : self
removeEchangeClient()  : self
removeEtape()  : self
removePj()  : self
removePrestation()  : self
setArticles()  : mixed
setClient()  : self
setCommande()  : self
setDate()  : self
setDateUpdate()  : self
setInfos()  : self
setIntervention()  : self
setNumero()  : self
setRemise()  : self
setReparation()  : self
setRetourAtelier()  : self
setService()  : self
setStatus()  : self
updateDistanceDevis()  : mixed
updateHeureDevis()  : mixed

Properties

$articles

private mixed $articles
Tags
ORM\OneToMany

(targetEntity=Details::class, mappedBy="devis",cascade={"persist","remove"})

$client

private mixed $client
Tags
ORM\ManyToOne

(targetEntity=Client::class, inversedBy="devis")

ORM\JoinColumn

(nullable=false)

$commande

private mixed $commande
Tags
ORM\ManyToOne

(targetEntity=Commande::class, inversedBy="devis")

$date

private mixed $date
Tags
ORM\Column

(type="datetime")

$dateUpdate

private mixed $dateUpdate
Tags
ORM\Column

(type="datetime", nullable=true)

$echangeClients

private mixed $echangeClients
Tags
ORM\OneToMany

(targetEntity=EchangeClient::class, mappedBy="devis",cascade={"persist","remove"})

$etapes

private mixed $etapes
Tags
ORM\ManyToMany

(targetEntity=Etapes::class, inversedBy="devis",cascade={"persist","remove"})

$id

private mixed $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer")

$infos

private mixed $infos
Tags
ORM\Column

(type="text", nullable=true)

$intervention

private mixed $intervention
Tags
ORM\ManyToOne

(targetEntity=Intervention::class, inversedBy="devis")

$numero

private mixed $numero
Tags
ORM\Column

(type="string", length=255)

$pj

private mixed $pj
Tags
ORM\OneToMany

(targetEntity=PieceJointe::class, mappedBy="devis")

$prestation

private mixed $prestation
Tags
ORM\OneToMany

(targetEntity=Prestation::class, mappedBy="devis",cascade={"persist","remove"})

$remise

private mixed $remise
Tags
ORM\Column

(type="float", nullable=true)

$reparation

private mixed $reparation
Tags
ORM\ManyToOne

(targetEntity=Reparation::class, inversedBy="devis",cascade={"persist"})

$retour_atelier

private mixed $retour_atelier
Tags
ORM\Column

(type="boolean", nullable=true)

$service

private mixed $service
Tags
ORM\Column

(type="string", length=255, nullable=true)

$status

private mixed $status
Tags
ORM\ManyToOne

(targetEntity=Status::class, inversedBy="devis")

Methods

__construct()

public __construct() : mixed
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

addArticle()

public addArticle(Details $article) : self
Parameters
$article : Details
Return values
self

addEtape()

public addEtape(Etapes $etape) : self
Parameters
$etape : Etapes
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) : mixed
Parameters
$item : mixed
Return values
mixed

existFraisKm()

public existFraisKm() : mixed
Return values
mixed

existMO()

public existMO() : mixed
Return values
mixed

getArticle()

public getArticle(mixed $item) : mixed
Parameters
$item : mixed
Return values
mixed

getArticles()

public getArticles() : Collection
Return values
Collection

getDate()

public getDate() : string|null
Return values
string|null

getDateUpdate()

public getDateUpdate() : mixed
Return values
mixed

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

getId()

public getId() : int|null
Return values
int|null

getInfos()

public getInfos() : string|null
Return values
string|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

getRetourAtelier()

public getRetourAtelier() : bool|null
Return values
bool|null

getService()

public getService() : string|null
Return values
string|null

getTotalHT()

public getTotalHT(mixed $tva) : mixed
Parameters
$tva : mixed
Return values
mixed

getTotalTTC()

public getTotalTTC() : mixed
Return values
mixed

getTotalTVA()

public getTotalTVA(mixed $tva) : mixed
Parameters
$tva : mixed
Return values
mixed

hasCommande()

public hasCommande() : bool
Return values
bool

hasCommandeFournisseur()

public hasCommandeFournisseur() : bool|null
Return values
bool|null

hasIntervention()

public hasIntervention() : mixed
Return values
mixed

hasReparation()

public hasReparation() : mixed
Return values
mixed

removeArticle()

public removeArticle(Details $article) : self
Parameters
$article : Details
Return values
self

removeEtape()

public removeEtape(Etapes $etape) : self
Parameters
$etape : Etapes
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

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
Return values
mixed

Search results