$shipments = $delivery->getShipments();
if ($shipments) {
foreach ($shipments as $index => $shipment) {
- Yii::info('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
+ Yii::warning('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
}
$deliveryDateTo = ($shipments[0])->getShipmentDate() ?? null;
$deliveryTimeTo = ($shipments[0])->getShipmentTime() ?? '';
$shipments = $delivery ? $delivery->getShipments() : null;
if ($shipments) {
foreach ($shipments as $index => $shipment) {
- Yii::info('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
+ Yii::warning('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
}
$deliveryDateTo = ($shipments[0])->getShipmentDate() ?? null;
$deliveryTimeTo = ($shipments[0])->getShipmentTime() ?? '';
$shipments = $delivery->getShipments();
if ($shipments) {
foreach ($shipments as $index => $shipment) {
- Yii::info('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
+ Yii::warning('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
}
$deliveryDateTo = ($shipments[0])->getShipmentDate() ?? null;
$deliveryTimeTo = ($shipments[0])->getShipmentTime() ?? '';
$shipments = $delivery->getShipments();
if ($shipments) {
foreach ($shipments as $index => $shipment) {
- Yii::info('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
+ Yii::warning('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
}
$deliveryDateTo = ($shipments[0])->getShipmentDate() ?? null;
$deliveryTimeTo = ($shipments[0])->getShipmentTime() ?? '';