|
|
|
|
@ -13,6 +13,7 @@ import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:url_launcher/url_launcher.dart';
|
|
|
|
|
|
|
|
|
|
import '../../../../locator.dart';
|
|
|
|
|
import '../../../../models/patient/profile/patient_profile_app_bar_model.dart';
|
|
|
|
|
|
|
|
|
|
class RadiologyDetailsPage extends StatelessWidget {
|
|
|
|
|
final FinalRadiology finalRadiology;
|
|
|
|
|
@ -34,16 +35,38 @@ class RadiologyDetailsPage extends StatelessWidget {
|
|
|
|
|
lineItem: finalRadiology.invoiceLineItemNo,
|
|
|
|
|
invoiceNo: finalRadiology.invoiceNo),
|
|
|
|
|
builder: (_, model, widget) => AppScaffold(
|
|
|
|
|
appBar: PatientProfileAppBar(
|
|
|
|
|
patient,
|
|
|
|
|
appointmentDate: finalRadiology.orderDate,
|
|
|
|
|
doctorName: finalRadiology.doctorName,
|
|
|
|
|
clinic: finalRadiology.clinicDescription,
|
|
|
|
|
branch: finalRadiology.projectName,
|
|
|
|
|
profileUrl: finalRadiology.doctorImageURL,
|
|
|
|
|
invoiceNO: finalRadiology.invoiceNo.toString(),
|
|
|
|
|
isAppointmentHeader: true,
|
|
|
|
|
|
|
|
|
|
patientProfileAppBarModel:PatientProfileAppBarModel(
|
|
|
|
|
|
|
|
|
|
patient:patient,
|
|
|
|
|
appointmentDate: finalRadiology.orderDate,
|
|
|
|
|
doctorName: finalRadiology.doctorName,
|
|
|
|
|
clinic: finalRadiology.clinicDescription,
|
|
|
|
|
branch: finalRadiology.projectName,
|
|
|
|
|
profileUrl: finalRadiology.doctorImageURL,
|
|
|
|
|
invoiceNO: finalRadiology.invoiceNo.toString(),
|
|
|
|
|
isAppointmentHeader: false,
|
|
|
|
|
),
|
|
|
|
|
// appBar: PatientProfileAppBar(
|
|
|
|
|
// patient,
|
|
|
|
|
// appointmentDate: finalRadiology.orderDate,
|
|
|
|
|
// doctorName: finalRadiology.doctorName,
|
|
|
|
|
// clinic: finalRadiology.clinicDescription,
|
|
|
|
|
// branch: finalRadiology.projectName,
|
|
|
|
|
// profileUrl: finalRadiology.doctorImageURL,
|
|
|
|
|
// invoiceNO: finalRadiology.invoiceNo.toString(),
|
|
|
|
|
// isAppointmentHeader: false,
|
|
|
|
|
// ),
|
|
|
|
|
// appBar: PatientProfileAppBar(
|
|
|
|
|
// patient,
|
|
|
|
|
// appointmentDate: finalRadiology.orderDate,
|
|
|
|
|
// doctorName: finalRadiology.doctorName,
|
|
|
|
|
// clinic: finalRadiology.clinicDescription,
|
|
|
|
|
// branch: finalRadiology.projectName,
|
|
|
|
|
// profileUrl: finalRadiology.doctorImageURL,
|
|
|
|
|
// invoiceNO: finalRadiology.invoiceNo.toString(),
|
|
|
|
|
// isAppointmentHeader: true,
|
|
|
|
|
// ),
|
|
|
|
|
isShowAppBar: true,
|
|
|
|
|
baseViewModel: model,
|
|
|
|
|
body: SingleChildScrollView(
|
|
|
|
|
|