@platform-modules/civil-aviation-authority 2.3.233 → 2.3.234
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.
|
@@ -50,7 +50,9 @@ export declare class LogisticsRequests extends BaseModel {
|
|
|
50
50
|
purpose_of_travel: Purpose_of_Travel;
|
|
51
51
|
type_of_vehicle_required: Type_of_Vehicle;
|
|
52
52
|
type_of_request: Type_of_Request;
|
|
53
|
-
|
|
53
|
+
travel_date_from: Date;
|
|
54
|
+
travel_date_to: Date;
|
|
55
|
+
duration: number;
|
|
54
56
|
time_of_travel: string;
|
|
55
57
|
description: string;
|
|
56
58
|
status: Status;
|
|
@@ -64,5 +66,5 @@ export declare class LogisticsRequests extends BaseModel {
|
|
|
64
66
|
vehicle_condition: string | null;
|
|
65
67
|
reason: string | null;
|
|
66
68
|
driver_name: string | null;
|
|
67
|
-
constructor(req_user_department_id: number | null, req_user_section_id: number | null, service_id: number, sub_service_id: number, user_id: number, category: Request_Type, vehicle_required_for: Vehicle_Required_For, vehicle_required_location: Vehicle_Required_Location, title: string, purpose_of_travel: Purpose_of_Travel, type_of_vehicle_required: Type_of_Vehicle, type_of_request: Type_of_Request,
|
|
69
|
+
constructor(req_user_department_id: number | null, req_user_section_id: number | null, service_id: number, sub_service_id: number, user_id: number, category: Request_Type, vehicle_required_for: Vehicle_Required_For, vehicle_required_location: Vehicle_Required_Location, title: string, purpose_of_travel: Purpose_of_Travel, type_of_vehicle_required: Type_of_Vehicle, type_of_request: Type_of_Request, travel_date_from: Date, travel_date_to: Date, duration: number, time_of_travel: string, description: string, status: Status, workflow_execution_id?: string | null, vehicle_number?: string | null, fuel_card?: string | null, expected_vehicle_return_time?: string | null, expected_return_date?: Date | null, actual_vehicle_return_time?: string | null, actual_return_date?: Date | null, vehicle_condition?: string | null, reason?: string | null, driver_name?: string | null);
|
|
68
70
|
}
|
|
@@ -56,7 +56,7 @@ var Type_of_Request;
|
|
|
56
56
|
Type_of_Request["EXTENSION"] = "Extension of Previous Request";
|
|
57
57
|
})(Type_of_Request || (exports.Type_of_Request = Type_of_Request = {}));
|
|
58
58
|
let LogisticsRequests = class LogisticsRequests extends BaseModel_1.BaseModel {
|
|
59
|
-
constructor(req_user_department_id, req_user_section_id, service_id, sub_service_id, user_id, category, vehicle_required_for, vehicle_required_location, title, purpose_of_travel, type_of_vehicle_required, type_of_request,
|
|
59
|
+
constructor(req_user_department_id, req_user_section_id, service_id, sub_service_id, user_id, category, vehicle_required_for, vehicle_required_location, title, purpose_of_travel, type_of_vehicle_required, type_of_request, travel_date_from, travel_date_to, duration, time_of_travel,
|
|
60
60
|
// exp_duration_of_use_hrs: number,
|
|
61
61
|
// exp_duration_of_use_days: number,
|
|
62
62
|
description, status, workflow_execution_id, vehicle_number, fuel_card, expected_vehicle_return_time, expected_return_date, actual_vehicle_return_time, actual_return_date, vehicle_condition, reason, driver_name) {
|
|
@@ -73,7 +73,9 @@ let LogisticsRequests = class LogisticsRequests extends BaseModel_1.BaseModel {
|
|
|
73
73
|
this.purpose_of_travel = purpose_of_travel;
|
|
74
74
|
this.type_of_vehicle_required = type_of_vehicle_required;
|
|
75
75
|
this.type_of_request = type_of_request;
|
|
76
|
-
this.
|
|
76
|
+
this.travel_date_from = travel_date_from;
|
|
77
|
+
this.travel_date_to = travel_date_to;
|
|
78
|
+
this.duration = duration;
|
|
77
79
|
this.time_of_travel = time_of_travel;
|
|
78
80
|
// this.exp_duration_of_use_hrs = exp_duration_of_use_hrs;
|
|
79
81
|
// this.exp_duration_of_use_days = exp_duration_of_use_days;
|
|
@@ -177,7 +179,15 @@ __decorate([
|
|
|
177
179
|
__decorate([
|
|
178
180
|
(0, typeorm_1.Column)({ type: "date", nullable: false }),
|
|
179
181
|
__metadata("design:type", Date)
|
|
180
|
-
], LogisticsRequests.prototype, "
|
|
182
|
+
], LogisticsRequests.prototype, "travel_date_from", void 0);
|
|
183
|
+
__decorate([
|
|
184
|
+
(0, typeorm_1.Column)({ type: "date", nullable: false }),
|
|
185
|
+
__metadata("design:type", Date)
|
|
186
|
+
], LogisticsRequests.prototype, "travel_date_to", void 0);
|
|
187
|
+
__decorate([
|
|
188
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
189
|
+
__metadata("design:type", Number)
|
|
190
|
+
], LogisticsRequests.prototype, "duration", void 0);
|
|
181
191
|
__decorate([
|
|
182
192
|
(0, typeorm_1.Column)({ type: "time", nullable: true }),
|
|
183
193
|
__metadata("design:type", String)
|
|
@@ -237,5 +247,6 @@ __decorate([
|
|
|
237
247
|
], LogisticsRequests.prototype, "driver_name", void 0);
|
|
238
248
|
exports.LogisticsRequests = LogisticsRequests = __decorate([
|
|
239
249
|
(0, typeorm_1.Entity)({ name: 'logistics_requests' }),
|
|
240
|
-
__metadata("design:paramtypes", [Object, Object, Number, Number, Number, String, String, String, String, String, String, String, Date,
|
|
250
|
+
__metadata("design:paramtypes", [Object, Object, Number, Number, Number, String, String, String, String, String, String, String, Date,
|
|
251
|
+
Date, Number, String, String, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object])
|
|
241
252
|
], LogisticsRequests);
|
package/package.json
CHANGED
|
@@ -118,7 +118,13 @@ export class LogisticsRequests extends BaseModel {
|
|
|
118
118
|
type_of_request: Type_of_Request;
|
|
119
119
|
|
|
120
120
|
@Column({ type: "date", nullable: false })
|
|
121
|
-
|
|
121
|
+
travel_date_from: Date;
|
|
122
|
+
|
|
123
|
+
@Column({ type: "date", nullable: false })
|
|
124
|
+
travel_date_to: Date;
|
|
125
|
+
|
|
126
|
+
@Column({ type: 'int', nullable: false })
|
|
127
|
+
duration: number;
|
|
122
128
|
|
|
123
129
|
@Column({ type: "time", nullable: true })
|
|
124
130
|
time_of_travel: string;
|
|
@@ -183,7 +189,9 @@ export class LogisticsRequests extends BaseModel {
|
|
|
183
189
|
purpose_of_travel: Purpose_of_Travel,
|
|
184
190
|
type_of_vehicle_required: Type_of_Vehicle,
|
|
185
191
|
type_of_request: Type_of_Request,
|
|
186
|
-
|
|
192
|
+
travel_date_from: Date,
|
|
193
|
+
travel_date_to: Date,
|
|
194
|
+
duration: number,
|
|
187
195
|
time_of_travel: string,
|
|
188
196
|
// exp_duration_of_use_hrs: number,
|
|
189
197
|
// exp_duration_of_use_days: number,
|
|
@@ -213,7 +221,9 @@ export class LogisticsRequests extends BaseModel {
|
|
|
213
221
|
this.purpose_of_travel = purpose_of_travel;
|
|
214
222
|
this.type_of_vehicle_required = type_of_vehicle_required;
|
|
215
223
|
this.type_of_request = type_of_request;
|
|
216
|
-
this.
|
|
224
|
+
this.travel_date_from = travel_date_from;
|
|
225
|
+
this.travel_date_to = travel_date_to;
|
|
226
|
+
this.duration = duration;
|
|
217
227
|
this.time_of_travel = time_of_travel;
|
|
218
228
|
// this.exp_duration_of_use_hrs = exp_duration_of_use_hrs;
|
|
219
229
|
// this.exp_duration_of_use_days = exp_duration_of_use_days;
|