fix(card-print-queue); send type provision for testing
This commit is contained in:
@ -5,7 +5,7 @@ import { OrmHelper } from "../helpers/orm";
|
||||
import Joi from "joi";
|
||||
import { ILogObj, Logger } from "tslog";
|
||||
import { Language } from "../langs/lang";
|
||||
import { Paging, CardPrintQueue, CardPrintQueueStatus } from "entity";
|
||||
import { Paging, CardPrintQueue, CardPrintQueueStatus, CardPrintQueueType } from "entity";
|
||||
import CommonHelper from "../helpers/common";
|
||||
import { CardPrintQueueModel } from "../model/card_print_queue";
|
||||
|
||||
@ -123,7 +123,8 @@ export class CardPrintQueueController {
|
||||
data.patient_id = param.patient_id || null;
|
||||
data.facility_code = param.facility_code || null;
|
||||
data.status = param.status || CardPrintQueueStatus.PENDING;
|
||||
|
||||
data.type = CardPrintQueueType.PROVISION; //test
|
||||
|
||||
const authHeader = req.headers.authorization;
|
||||
let rawToken = "";
|
||||
if (authHeader) {
|
||||
|
||||
Reference in New Issue
Block a user