Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
orderanalysis.php
1<?php
2
3
5
6
11
13{
14 protected static function renderResponsibleLink($data)
15 {
16 return '<a class="adm-bus-orderdocs-threelist-block-responsible-name" href="/bitrix/admin/user_edit.php?ID='.$data['RESPONSIBLE_ID'].'" target="_blank">'.htmlspecialcharsbx($data['RESPONSIBLE']).'</a>';
17 }
18
19 protected static function renderDeliveryRequestView($data)
20 {
21 $id = $data['ID'];
22
25 ->setFilterParams(false)
26 ->setField('ID', $id)
27 ->fill()
28 ->build();
29
30 return '<a href="'.$url.'" class="adm-bus-orderdocs-threelist-block-title-link" target="_blank">'.
31 Loc::getMessage('SALE_OANALYSIS_DELIVERY_REQUEST', array(
32 '#REQUEST_ID#' => $id
33 )).'</a>';
34 }
35
36 protected static function renderShipmentItemLink($item)
37 {
38 if (!isset($item['EDIT_PAGE_URL']))
39 {
40 return htmlspecialcharsEx($item['NAME']);
41 }
42 return
43 '<a class="fwb" href="' . htmlspecialcharsbx($item['EDIT_PAGE_URL']) . '" target="_blank">'
44 . htmlspecialcharsEx($item['NAME'])
45 . '</a>'
46 ;
47 }
48}
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29