Logidav Docs

EanColisService
in package

Class EanProductService

Table of Contents

Properties

$container  : ContainerInterface
$entityManager  : EntityManagerInterface
$header  : mixed

Methods

__construct()  : mixed
export()  : StreamedResponse
Exporting sales
exportXls()  : mixed
Exporting as Xls
getRepo()  : EanColisRepository
save()  : ProductEanParcel
Save eanProduct
exportCsv()  : mixed
Exporting as csv
exportPDF()  : mixed
Exporting as csv

Properties

$header

private mixed $header = ['id' => 'ID', 'sku' => 'Sku', 'name' => 'Nom', 'dispo' => 'Dispo', 'qty' => 'Qté', 'manufacturer' => 'Fabricant', 'lastdescharge' => 'Dernier déchargement', 'lastqty' => 'Qté', 'dispoone' => 'Dispo (arrivage 1)', 'dispooneqty' => 'Qté', 'dispotwo' => 'Dispo (arrivage 2)', 'dispotwoqty' => 'Qté', 'arrivalcmd' => 'Arrivage (commande)', 'arrivalqty' => 'Arrivage (qté)', 'otherarrival' => 'Autres arrivages', 'salesevendays' => 'Vente les 7 derniers jours', 'salethirtydays' => 'Vente les 30 derniers jours', 'saleninetydays' => 'Vente les 90 derniers jours', 'saleQtyNoStock' => 'Commandes non livre', 'reference' => 'Container Ref', 'shipment' => 'Shipment Date', 'arrival' => 'Arrivage Date', 'a' => 'ID', 'created_at' => 'Crée', 'arrival_at' => 'estimation arrivage', 'status' => 'Status', 'volume' => 'volume', 'dispoarrival' => 'Dispo (arrivage)', 'qtyordered' => 'Qty en contenaire', 'pendingorder' => 'Qty en attente de livraison', 'recommendation' => 'Recommandation', 'buyingPrice' => 'Prix d\'achat', 'costPrice' => 'Prix de revient', 'date' => 'Date', 'disponew' => 'Dispo Nouv', 'emplacement' => 'Emplacement', 'shippingfees' => 'Prix de transport', 'price' => 'Prix', 'drop' => 'Drop', 'promo' => 'Promo', 'special_price' => 'Prix spécial', 'depot' => 'Depot', 'special_price_from' => 'Prix spécial de', 'special_price_to' => 'Prix spécial a', 'action' => 'Action', 'old' => 'Ancienne quantité', 'new' => 'Nouvelle quantité', 'msg' => 'Message', 'user' => 'Utilisateur', 'namel' => 'Nom FR', 'trans' => 'Traduit ?', 'isSync' => 'Synchronizé', 'fdp' => 'FDP', 'up_stairs_extra_shipping_amount' => 'Frais de port', 'currentBuyingPrice' => "Prix d'achat", 'manufacturer' => 'Fourniseur', 'currency' => "Devise prix d'achat", 'img1' => 'image_1', 'img2' => 'image_2', 'sellingPriceHt' => 'Prix de revente HT', 'shippingAmount' => 'Prix de transport', 'ean' => 'Ean13', 'eanColis' => 'Ean Colis 14']

Methods

__construct()

public __construct(ContainerInterface $container, EntityManagerInterface $entityManager) : mixed
Parameters
$container : ContainerInterface
$entityManager : EntityManagerInterface

export()

Exporting sales

public export(mixed $title, mixed $data, mixed $columns, mixed $format[, array<string|int, mixed> $customHeader = [] ]) : StreamedResponse
Parameters
$title : mixed
$data : mixed
$columns : mixed
$format : mixed
$customHeader : array<string|int, mixed> = []
Return values
StreamedResponse

exportXls()

Exporting as Xls

public exportXls(mixed $data, mixed $columns, mixed $title[, bool $toFile = false ]) : mixed
Parameters
$data : mixed
$columns : mixed
$title : mixed
$toFile : bool = false

exportCsv()

Exporting as csv

private exportCsv(mixed $data, mixed $columns, mixed $title) : mixed
Parameters
$data : mixed
$columns : mixed
$title : mixed

exportPDF()

Exporting as csv

private exportPDF(mixed $data, mixed $columns, mixed $title) : mixed
Parameters
$data : mixed
$columns : mixed
$title : mixed

        
On this page

Search results