Documentation

Devis
in package

Tags
ORM\Entity

(repositoryClass=DevisRepository::class)

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
ORM\OneToMany

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

$client

private Client|null $client
Tags
ORM\ManyToOne

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

ORM\JoinColumn

(nullable=false)

$commande

private Commande|null $commande
Tags
ORM\ManyToOne

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

$date

private DateTime $date
Tags
ORM\Column

(type="datetime")

$dateUpdate

private DateTime $dateUpdate
Tags
ORM\Column

(type="datetime", nullable=true)

$echangeClients

private EchangeClient|Collection $echangeClients
Tags
ORM\OneToMany

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

$etapes

private Etapes|Collection $etapes
Tags
ORM\ManyToMany

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

$id

private int|null $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer")

$infos

private string|null $infos
Tags
ORM\Column

(type="text", nullable=true)

$intervention

private Intervention|null $intervention
Tags
ORM\ManyToOne

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

$numero

private string|null $numero
Tags
ORM\Column

(type="string", length=255)

$pj

private PieceJointe|Collection $pj
Tags
ORM\OneToMany

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

$prestation

private Prestation|Collection $prestation
Tags
ORM\OneToMany

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

$remise

private float|null $remise
Tags
ORM\Column

(type="float", nullable=true)

$reparation

private Reparation|null $reparation
Tags
ORM\ManyToOne

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

$retour_atelier

private bool|null $retour_atelier
Tags
ORM\Column

(type="boolean", nullable=true)

$service

private string|null $service
Tags
ORM\Column

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

$status

private Status|null $status
Tags
ORM\ManyToOne

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

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

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) : 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

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

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

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

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