test-entity-library-asm 3.3.8 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,6 +8,10 @@ export declare class ReceiptConfig {
|
|
|
8
8
|
is_address: number;
|
|
9
9
|
is_phone: number;
|
|
10
10
|
format_date: string;
|
|
11
|
+
ticket_width_mm: string;
|
|
12
|
+
is_show_user_box: number;
|
|
13
|
+
is_show_unit_price: number;
|
|
14
|
+
is_divide_name_and_quantity: number;
|
|
11
15
|
custom_message_below: any | null;
|
|
12
16
|
custom_message_top: any | null;
|
|
13
17
|
details: any | null;
|
|
@@ -88,6 +88,42 @@ var ReceiptConfig = /** @class */ (function () {
|
|
|
88
88
|
}),
|
|
89
89
|
__metadata("design:type", String)
|
|
90
90
|
], ReceiptConfig.prototype, "format_date", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, typeorm_1.Column)({
|
|
93
|
+
length: 4,
|
|
94
|
+
type: "varchar",
|
|
95
|
+
default: "80mm",
|
|
96
|
+
comment: "Tamaño que va a tener la impresión de facturas:\r\n1: 80mm.\r\n2: 58mm.",
|
|
97
|
+
}),
|
|
98
|
+
__metadata("design:type", String)
|
|
99
|
+
], ReceiptConfig.prototype, "ticket_width_mm", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, typeorm_1.Column)({
|
|
102
|
+
default: 1,
|
|
103
|
+
type: "int",
|
|
104
|
+
width: 1,
|
|
105
|
+
comment: "Mostrar información del usuario que recibe el pago y entrega las cuentas:\r\n1: Sí.\r\n0: No.",
|
|
106
|
+
}),
|
|
107
|
+
__metadata("design:type", Number)
|
|
108
|
+
], ReceiptConfig.prototype, "is_show_user_box", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, typeorm_1.Column)({
|
|
111
|
+
default: 1,
|
|
112
|
+
type: "int",
|
|
113
|
+
width: 1,
|
|
114
|
+
comment: "Mostrar el precio unitario de los productos:\r\n1: Sí.\r\n0: No.",
|
|
115
|
+
}),
|
|
116
|
+
__metadata("design:type", Number)
|
|
117
|
+
], ReceiptConfig.prototype, "is_show_unit_price", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
(0, typeorm_1.Column)({
|
|
120
|
+
default: 1,
|
|
121
|
+
type: "int",
|
|
122
|
+
width: 1,
|
|
123
|
+
comment: "Dividir en columnas separadas el nombre y la cantidad del producto:\r\n1: Sí.\r\n0: No.",
|
|
124
|
+
}),
|
|
125
|
+
__metadata("design:type", Number)
|
|
126
|
+
], ReceiptConfig.prototype, "is_divide_name_and_quantity", void 0);
|
|
91
127
|
__decorate([
|
|
92
128
|
(0, typeorm_1.Column)({
|
|
93
129
|
type: "text",
|
package/package.json
CHANGED
|
@@ -83,6 +83,41 @@ export class ReceiptConfig {
|
|
|
83
83
|
})
|
|
84
84
|
format_date: string;
|
|
85
85
|
|
|
86
|
+
@Column({
|
|
87
|
+
length: 4,
|
|
88
|
+
type: "varchar",
|
|
89
|
+
default: "80mm",
|
|
90
|
+
comment:
|
|
91
|
+
"Tamaño que va a tener la impresión de facturas:\r\n1: 80mm.\r\n2: 58mm.",
|
|
92
|
+
})
|
|
93
|
+
ticket_width_mm: string;
|
|
94
|
+
|
|
95
|
+
@Column({
|
|
96
|
+
default: 1,
|
|
97
|
+
type: "int",
|
|
98
|
+
width: 1,
|
|
99
|
+
comment:
|
|
100
|
+
"Mostrar información del usuario que recibe el pago y entrega las cuentas:\r\n1: Sí.\r\n0: No.",
|
|
101
|
+
})
|
|
102
|
+
is_show_user_box: number;
|
|
103
|
+
|
|
104
|
+
@Column({
|
|
105
|
+
default: 1,
|
|
106
|
+
type: "int",
|
|
107
|
+
width: 1,
|
|
108
|
+
comment: "Mostrar el precio unitario de los productos:\r\n1: Sí.\r\n0: No.",
|
|
109
|
+
})
|
|
110
|
+
is_show_unit_price: number;
|
|
111
|
+
|
|
112
|
+
@Column({
|
|
113
|
+
default: 1,
|
|
114
|
+
type: "int",
|
|
115
|
+
width: 1,
|
|
116
|
+
comment:
|
|
117
|
+
"Dividir en columnas separadas el nombre y la cantidad del producto:\r\n1: Sí.\r\n0: No.",
|
|
118
|
+
})
|
|
119
|
+
is_divide_name_and_quantity: number;
|
|
120
|
+
|
|
86
121
|
@Column({
|
|
87
122
|
type: "text",
|
|
88
123
|
nullable: true,
|