add provider folder for bdc
This commit is contained in:
parent
e19a0f051a
commit
8059e463e3
@ -120,9 +120,12 @@ class OrderPdfService {
|
|||||||
$orderYear = $orderDatetime->format('Y');
|
$orderYear = $orderDatetime->format('Y');
|
||||||
$orderMonth = DateHelpers::GetDateWithFormatDayAndMonthPlainString($orderPdfData['order_date']);
|
$orderMonth = DateHelpers::GetDateWithFormatDayAndMonthPlainString($orderPdfData['order_date']);
|
||||||
$orderByYearFolder = $clientRacineFolder."$orderYear".'/'.$orderMonth.'/'.'FOURNISSEUR'.'/';
|
$orderByYearFolder = $clientRacineFolder."$orderYear".'/'.$orderMonth.'/'.'FOURNISSEUR'.'/';
|
||||||
|
$providerRacineFolder = $racinePath.'FOURNISSEURS/'.mb_strtoupper($orderPdfData["client_name"],'UTF-8').'/';
|
||||||
|
$providerRacineFolder .= "$orderYear".'/'.$orderMonth.'/';
|
||||||
return [
|
return [
|
||||||
$defuntsFolder,
|
$defuntsFolder,
|
||||||
$orderByYearFolder
|
$orderByYearFolder,
|
||||||
|
$providerRacineFolder
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user