feat: improve patient flow and pricing workflow
This commit is contained in:
@@ -258,7 +258,9 @@ class _LabJobDetailScreenState extends ConsumerState<LabJobDetailScreen> {
|
||||
children: [
|
||||
Expanded(
|
||||
child: Text(
|
||||
job.patientCode,
|
||||
job.patientName?.isNotEmpty == true
|
||||
? job.patientName!
|
||||
: job.patientCode,
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.headlineSmall
|
||||
@@ -289,10 +291,40 @@ class _LabJobDetailScreenState extends ConsumerState<LabJobDetailScreen> {
|
||||
icon: Icons.business,
|
||||
label: 'Klinik',
|
||||
value: job.clinicName ?? '-'),
|
||||
if (job.patientName != null &&
|
||||
job.patientName!.isNotEmpty)
|
||||
_InfoRow(
|
||||
icon: Icons.person_outline,
|
||||
label: 'Hasta',
|
||||
value: job.patientName!,
|
||||
),
|
||||
_InfoRow(
|
||||
icon: Icons.tag_outlined,
|
||||
label: 'Protokol No',
|
||||
value: job.patientCode,
|
||||
),
|
||||
_InfoRow(
|
||||
icon: Icons.medical_services_outlined,
|
||||
label: 'Protez Tipi',
|
||||
value: job.prostheticType.label),
|
||||
if (job.prostheticName != null &&
|
||||
job.prostheticName!.isNotEmpty)
|
||||
_InfoRow(
|
||||
icon: Icons.category_outlined,
|
||||
label: 'Ürün',
|
||||
value: job.prostheticName!,
|
||||
),
|
||||
if (job.workflowType != null)
|
||||
_InfoRow(
|
||||
icon: Icons.tune_rounded,
|
||||
label: 'İş Tipi',
|
||||
value: job.workflowType!.label,
|
||||
),
|
||||
_InfoRow(
|
||||
icon: Icons.fact_check_outlined,
|
||||
label: 'Prova',
|
||||
value: job.provaRequired ? 'Provalı' : 'Provasız',
|
||||
),
|
||||
_InfoRow(
|
||||
icon: Icons.format_list_numbered,
|
||||
label: 'Üye Sayısı',
|
||||
@@ -761,4 +793,3 @@ class _JobStepper extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user