|
|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:hmg_qline/models/global_config_model.dart';
|
|
|
|
|
import 'package:hmg_qline/models/ticket_model.dart';
|
|
|
|
|
import 'package:hmg_qline/utilities/enums.dart';
|
|
|
|
|
import 'package:hmg_qline/views/main_queue_screen/components/ticket_item.dart';
|
|
|
|
|
import 'package:hmg_qline/views/view_helpers/size_config.dart';
|
|
|
|
|
|
|
|
|
|
@ -20,13 +21,14 @@ class PriorityTickets extends StatelessWidget {
|
|
|
|
|
children: [
|
|
|
|
|
TicketItem(
|
|
|
|
|
ticketNo: firstTicket.ticketModel!.queueNo ?? '',
|
|
|
|
|
scale: 1.2,
|
|
|
|
|
scale: globalConfigurationsModel.screenTypeEnum == ScreenTypeEnum.roomLevelScreen ? 1.6 : 1.2,
|
|
|
|
|
blink: true,
|
|
|
|
|
roomNo: firstTicket.ticketModel!.roomNo ?? '',
|
|
|
|
|
roomText: globalConfigurationsModel.roomText ?? "",
|
|
|
|
|
isClinicAdded: false,
|
|
|
|
|
textDirection: globalConfigurationsModel.textDirection,
|
|
|
|
|
message: "ZahoorWillAddThis",
|
|
|
|
|
message: globalConfigurationsModel.ticketNoText,
|
|
|
|
|
screenTypeEnum: globalConfigurationsModel.screenTypeEnum,
|
|
|
|
|
),
|
|
|
|
|
if (tickets.length > 1) ...[
|
|
|
|
|
// SizedBox(height: SizeConfig.getHeightMultiplier() * 0.8),
|
|
|
|
|
@ -43,7 +45,8 @@ class PriorityTickets extends StatelessWidget {
|
|
|
|
|
roomText: globalConfigurationsModel.roomText ?? "",
|
|
|
|
|
isClinicAdded: false,
|
|
|
|
|
textDirection: globalConfigurationsModel.textDirection,
|
|
|
|
|
message: "ZahoorWillAddThis",
|
|
|
|
|
message: globalConfigurationsModel.ticketNoText,
|
|
|
|
|
screenTypeEnum: globalConfigurationsModel.screenTypeEnum,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
|