add provider folder for bdc

This commit is contained in:
Tiavina 2025-03-04 14:25:28 +03:00
parent e19a0f051a
commit 8059e463e3

View File

@ -120,9 +120,12 @@ class OrderPdfService {
$orderYear = $orderDatetime->format('Y');
$orderMonth = DateHelpers::GetDateWithFormatDayAndMonthPlainString($orderPdfData['order_date']);
$orderByYearFolder = $clientRacineFolder."$orderYear".'/'.$orderMonth.'/'.'FOURNISSEUR'.'/';
$providerRacineFolder = $racinePath.'FOURNISSEURS/'.mb_strtoupper($orderPdfData["client_name"],'UTF-8').'/';
$providerRacineFolder .= "$orderYear".'/'.$orderMonth.'/';
return [
$defuntsFolder,
$orderByYearFolder
$orderByYearFolder,
$providerRacineFolder
];
}
else{