Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
cashboxzreport.php
1<?php
3
4use Bitrix\Main\Entity\DataManager;
6
24{
25 public static function getTableName()
26 {
27 return 'b_sale_cashbox_z_report';
28 }
29
30 public static function getMap()
31 {
32 return array(
33 'ID' => array(
34 'primary' => true,
35 'data_type' => 'integer',
36 ),
37 'LINK_PARAMS' => array(
38 'data_type' => 'string',
39 'serialized' => true
40 ),
41 'CNT_FAIL_PRINT' => array(
42 'data_type' => 'integer',
43 'default' => 0
44 ),
45 'CASHBOX_ID' => array(
46 'data_type' => 'integer',
47 'required' => true,
48 ),
49 'DATE_CREATE' => array(
50 'data_type' => 'datetime',
51 'required' => true,
52 'default' => new DateTime()
53 ),
54 'DATE_PRINT_START' => array(
55 'data_type' => 'datetime'
56 ),
57 'DATE_PRINT_END' => array(
58 'data_type' => 'datetime'
59 ),
60 'STATUS' => array(
61 'data_type' => 'string',
62 ),
63 'CASH_SUM' => array(
64 'data_type' => 'float',
65 ),
66 'CASHLESS_SUM' => array(
67 'data_type' => 'float',
68 ),
69 'CUMULATIVE_SUM' => array(
70 'data_type' => 'float',
71 ),
72 'CURRENCY' => array(
73 'data_type' => 'string',
74 ),
75 'RETURNED_SUM' => array(
76 'data_type' => 'float',
77 ),
78 );
79 }
80}