Documentation

Commande
in package

Commande

Tags
ORM\Table

(name="commande", indexes=(name="", columns={"numero")})

ORM\Entity

(repositoryClass=CommandeRepository::class)

Table of Contents

$accomptes  : mixed
$client  : mixed
$contenu  : mixed
$dateExp  : DateTime
$dateLimiteExp  : DateTime
$dateOrder  : DateTime
$details  : mixed
$devis  : mixed
$echangeClients  : mixed
$etapes  : mixed
$fournisseur  : mixed
$id  : int
$infos  : mixed
$intervention  : mixed
$montant  : float
$numero  : string
$piece_jointe  : mixed
$savs  : mixed
$status  : mixed
$transporteur  : mixed
$tva  : float
__construct()  : mixed
__toString()  : mixed
addAccompte()  : self
addContenu()  : self
addDetail()  : self
addDevis()  : self
addEchangeClient()  : self
addEtape()  : self
addPieceJointe()  : self
addSav()  : self
clientWarned()  : mixed
containsCompo()  : mixed
getAccomptes()  : Collection|array<string|int, Accompte>
getArticle()  : mixed
getClient()  : Client|null
getClientFromCommandeFournisseur()  : mixed
getCommandeFournisseur()  : Commande|null
getContenu()  : Collection
getDate()  : mixed
getDateExp()  : Datetime|null
getDateLimiteExp()  : string
getDateOrder()  : mixed
getDetails()  : Collection
getDevis()  : Collection<int, Devis>
getEchangeClients()  : Collection
getEtapeByStatus()  : mixed
getEtapes()  : Collection
getFormattedDate()  : string
getFormattedDateExp()  : string
getFormattedDateOrder()  : string
getFournisseur()  : Fournisseur|null
getId()  : int|null
getInfos()  : string|null
getIntervention()  : Intervention|null
getMontant()  : float|null
getNumero()  : string|null
getPieceJointe()  : Collection
getSavs()  : Collection
getStatus()  : Status|null
getTemps()  : mixed
getTotalHT()  : mixed
getTotalTTC()  : mixed
getTotalTVA()  : mixed
getTransporteur()  : Transporteur|null
getTva()  : float|null
getType()  : string
hasCommandeFournisseur()  : bool|null
hasEtapes()  : mixed
hasFournisseur()  : mixed
hasPc()  : mixed
hasPieceJointe()  : mixed
hasSAV()  : mixed
isBoutique()  : mixed
isLate()  : mixed
isPaid()  : mixed
removeAccompte()  : self
removeContenu()  : self
removeDetail()  : self
removeDevis()  : self
removeEchangeClient()  : self
removeEtape()  : self
removePieceJointe()  : self
removeSav()  : self
setClient()  : self
setDateExp()  : self
setDateLimiteExp()  : self
setDateOrder()  : self
setFournisseur()  : self
setInfos()  : self
setIntervention()  : self
setMontant()  : self
setNumero()  : self
setStatus()  : self
setTransporteur()  : self
setTva()  : self
sumAccompte()  : mixed

Properties

$accomptes

private mixed $accomptes
Tags
ORM\OneToMany

(targetEntity=Accompte::class, mappedBy="commande",cascade={"remove"})

$client

private mixed $client
Tags
ORM\ManyToOne

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

ORM\JoinColumn

(nullable=false)

$contenu

private mixed $contenu
Tags
ORM\OneToMany

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

$dateExp

private DateTime $dateExp
Tags
ORM\Column

(name="date_exp", type="datetime", nullable=true)

$dateLimiteExp

private DateTime $dateLimiteExp
Tags
ORM\Column

(name="date_limite_exp", type="datetime", nullable=true)

$dateOrder

private DateTime $dateOrder
Tags
ORM\Column

(name="date_order", type="datetime", nullable=false)

$details

private mixed $details
Tags
ORM\OneToMany

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

$devis

private mixed $devis
Tags
ORM\OneToMany

(targetEntity=Devis::class, mappedBy="commande")

$echangeClients

private mixed $echangeClients
Tags
ORM\OneToMany

(targetEntity=EchangeClient::class, mappedBy="commande")

$etapes

private mixed $etapes
Tags
ORM\OneToMany

(targetEntity=Etapes::class, mappedBy="commande",cascade={"persist","remove"})

$fournisseur

private mixed $fournisseur
Tags
ORM\ManyToOne

(targetEntity=Fournisseur::class, inversedBy="commande")

$id

private int $id
Tags
ORM\Column

(name="id", type="integer", nullable=false)

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$infos

private mixed $infos
Tags
ORM\Column

(type="text", nullable=true)

$intervention

private mixed $intervention
Tags
ORM\ManyToOne

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

$montant

private float $montant
Tags
ORM\Column

(name="montant", type="float", precision=10, scale=0, nullable=false)

$numero

private string $numero
Tags
ORM\Column

(name="numero", type="string", length=255, nullable=false)

$piece_jointe

private mixed $piece_jointe
Tags
ORM\OneToMany

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

$savs

private mixed $savs
Tags
ORM\OneToMany

(targetEntity=Sav::class, mappedBy="commande", orphanRemoval=true)

$status

private mixed $status
Tags
ORM\ManyToOne

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

ORM\JoinColumn

(nullable=false)

$transporteur

private mixed $transporteur
Tags
ORM\ManyToOne

(targetEntity=Transporteur::class, inversedBy="commande")

$tva

private float $tva
Tags
ORM\Column

(name="tva", type="float", precision=10, scale=0, nullable=false)

Methods

__construct()

public __construct() : mixed
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

addContenu()

public addContenu(Details $contenu) : self
Parameters
$contenu : Details
Return values
self

addDevis()

public addDevis(Devis $devi) : self
Parameters
$devi : Devis
Return values
self

addEtape()

public addEtape(Etapes $etape) : self
Parameters
$etape : Etapes
Return values
self

addSav()

public addSav(Sav $sav) : self
Parameters
$sav : Sav
Return values
self

clientWarned()

public clientWarned() : mixed
Return values
mixed

containsCompo()

public containsCompo(mixed $compo) : mixed
Parameters
$compo : mixed
Return values
mixed

getAccomptes()

public getAccomptes() : Collection|array<string|int, Accompte>
Return values
Collection|array<string|int, Accompte>

getArticle()

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

getClientFromCommandeFournisseur()

public getClientFromCommandeFournisseur() : mixed
Return values
mixed

getContenu()

public getContenu() : Collection
Return values
Collection

getDate()

public getDate() : mixed
Return values
mixed

getDateExp()

public getDateExp() : Datetime|null
Return values
Datetime|null

getDateLimiteExp()

public getDateLimiteExp() : string
Return values
string

getDateOrder()

public getDateOrder() : mixed
Return values
mixed

getDetails()

public getDetails() : Collection
Return values
Collection

getDevis()

public getDevis() : Collection<int, Devis>
Return values
Collection<int, Devis>

getEchangeClients()

public getEchangeClients() : Collection
Return values
Collection

getEtapeByStatus()

public getEtapeByStatus(mixed $id) : mixed
Parameters
$id : mixed
Return values
mixed

getEtapes()

public getEtapes() : Collection
Return values
Collection

getFormattedDate()

public getFormattedDate([mixed $date = null ]) : string
Parameters
$date : mixed = null
Return values
string

getFormattedDateExp()

public getFormattedDateExp() : string
Return values
string

getFormattedDateOrder()

public getFormattedDateOrder() : string
Return values
string

getId()

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

getInfos()

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

getMontant()

public getMontant() : float|null
Return values
float|null

getNumero()

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

getPieceJointe()

public getPieceJointe() : Collection
Return values
Collection

getSavs()

public getSavs() : Collection
Return values
Collection

getTemps()

public getTemps() : mixed
Return values
mixed

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

getTva()

public getTva() : float|null
Return values
float|null

getType()

public getType() : string
Return values
string

hasCommandeFournisseur()

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

hasEtapes()

public hasEtapes() : mixed
Return values
mixed

hasFournisseur()

public hasFournisseur() : mixed
Return values
mixed

hasPc()

public hasPc() : mixed
Return values
mixed

hasPieceJointe()

public hasPieceJointe() : mixed
Return values
mixed

hasSAV()

public hasSAV() : mixed
Return values
mixed

isBoutique()

public isBoutique() : mixed
Return values
mixed

isLate()

public isLate() : mixed
Return values
mixed

isPaid()

public isPaid() : mixed
Return values
mixed

removeAccompte()

public removeAccompte(Accompte $accompte) : self
Parameters
$accompte : Accompte
Return values
self

removeContenu()

public removeContenu(Details $contenu) : self
Parameters
$contenu : Details
Return values
self

removeDetail()

public removeDetail(Details $detail) : self
Parameters
$detail : Details
Return values
self

removeDevis()

public removeDevis(Devis $devi) : self
Parameters
$devi : Devis
Return values
self

removeEtape()

public removeEtape(Etapes $etape) : self
Parameters
$etape : Etapes
Return values
self

removeSav()

public removeSav(Sav $sav) : self
Parameters
$sav : Sav
Return values
self

setClient()

public setClient(Client|null $client) : self
Parameters
$client : Client|null
Return values
self

setDateExp()

public setDateExp(DateTime $dateExp) : self
Parameters
$dateExp : DateTime
Return values
self

setDateLimiteExp()

public setDateLimiteExp(DateTime $dateLimiteExp) : self
Parameters
$dateLimiteExp : DateTime
Return values
self

setDateOrder()

public setDateOrder(DateTime $dateOrder) : self
Parameters
$dateOrder : DateTime
Return values
self

setInfos()

public setInfos(string|null $infos) : self
Parameters
$infos : string|null
Return values
self

setMontant()

public setMontant(float $montant) : self
Parameters
$montant : float
Return values
self

setNumero()

public setNumero(string $numero) : self
Parameters
$numero : string
Return values
self

setStatus()

public setStatus(Status|null $status) : self
Parameters
$status : Status|null
Return values
self

setTva()

public setTva(float $tva) : self
Parameters
$tva : float
Return values
self

sumAccompte()

public sumAccompte() : mixed
Return values
mixed

Search results