|
|
|
@ -215,6 +215,22 @@ class RefundRequestDetailScreen extends StatelessWidget {
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
if (invoicePayload.proceduresList != null && invoicePayload.proceduresList!.isNotEmpty)
|
|
|
|
if (invoicePayload.proceduresList != null && invoicePayload.proceduresList!.isNotEmpty)
|
|
|
|
...invoicePayload.proceduresList!.map((p) => _buildProcedureRow(context, p)),
|
|
|
|
...invoicePayload.proceduresList!.map((p) => _buildProcedureRow(context, p)),
|
|
|
|
|
|
|
|
if (invoice?.rejectReason != null && invoice!.rejectReason!.isNotEmpty) ...[
|
|
|
|
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
|
|
|
|
Column(
|
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
"${LocaleKeys.requestRejectionReason.tr(context: context)}:".toText12(
|
|
|
|
|
|
|
|
color: AppColors.greyInfoTextColor,
|
|
|
|
|
|
|
|
isBold: true,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
SizedBox(height: 4.h),
|
|
|
|
|
|
|
|
invoice.rejectReason!.toText12(
|
|
|
|
|
|
|
|
color: AppColors.greyInfoTextColor,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
if (isWalletType && walletPayload != null) ...[
|
|
|
|
if (isWalletType && walletPayload != null) ...[
|
|
|
|
Row(
|
|
|
|
Row(
|
|
|
|
@ -233,6 +249,22 @@ class RefundRequestDetailScreen extends StatelessWidget {
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
if (walletPayload.advancesList != null && walletPayload.advancesList!.isNotEmpty)
|
|
|
|
if (walletPayload.advancesList != null && walletPayload.advancesList!.isNotEmpty)
|
|
|
|
...walletPayload.advancesList!.map((a) => _buildAdvanceRow(context, a)),
|
|
|
|
...walletPayload.advancesList!.map((a) => _buildAdvanceRow(context, a)),
|
|
|
|
|
|
|
|
if (invoice?.rejectReason != null && invoice!.rejectReason!.isNotEmpty) ...[
|
|
|
|
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
|
|
|
|
Column(
|
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
"${LocaleKeys.requestRejectionReason.tr(context: context)}:".toText12(
|
|
|
|
|
|
|
|
color: AppColors.greyInfoTextColor,
|
|
|
|
|
|
|
|
isBold: true,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
SizedBox(height: 4.h),
|
|
|
|
|
|
|
|
invoice!.rejectReason!.toText12(
|
|
|
|
|
|
|
|
color: AppColors.greyInfoTextColor,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -283,7 +315,7 @@ class RefundRequestDetailScreen extends StatelessWidget {
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
SizedBox(height: 10.h),
|
|
|
|
SizedBox(height: 10.h),
|
|
|
|
"${LocaleKeys.rejectionReason.tr(context: context)}:".toText10(
|
|
|
|
"${LocaleKeys.procedureRejectionReason.tr(context: context)}:".toText10(
|
|
|
|
color: AppColors.greyInfoTextColor,
|
|
|
|
color: AppColors.greyInfoTextColor,
|
|
|
|
isBold: true,
|
|
|
|
isBold: true,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|