Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
adminentitylinkbuilder.php
1<?php
2
4
6
11{
15 public function getOrderDetailUrl(int $orderId): string
16 {
17 return 'sale_order_view.php?' . http_build_query([
18 'ID' => $orderId,
19 'lang' => LANGUAGE_ID,
20 ]);
21 }
22
26 public function getShipmentDetailsLink(int $orderId, int $shipmentId): string
27 {
28 return 'sale_order_shipment_edit.php?' . http_build_query([
29 'order_id' => $orderId,
30 'shipment_id' => $shipmentId,
31 'lang' => LANGUAGE_ID,
32 ]);
33 }
34
38 public function getPaymentDetailsLink(int $orderId, int $paymentId): string
39 {
40 return 'sale_order_payment_edit.php?' . http_build_query([
41 'order_id' => $orderId,
42 'payment_id' => $paymentId,
43 'lang' => LANGUAGE_ID,
44 ]);
45 }
46}