KBZ-POS/app/src/main/res/navigation/mobile_navigation.xml
2025-11-13 02:49:21 +07:00

1180 lines
51 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/mobile_navigation"
app:startDestination="@id/nav_main">
<!-- app:startDestination="@id/TMSProcessFragment">-->
<!-- nav_main-->
<fragment
android:id="@+id/nav_test"
android:name="com.utsmm.kbz.ui.kpay.TestFragment"
tools:layout="@layout/fragment_test"/>
<fragment
tools:layout="@layout/fragment_amount_screen"
android:id="@+id/inputAmountFragment"
android:name="com.utsmm.kbz.ui.core_ui.InputAmountFragment" >
<action
android:id="@+id/action_inputAmountFragment_to_cardWaitingFragment"
app:destination="@id/cardWaitingFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputAmountFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputAmountFragment_to_QRTransactionFragment"
app:destination="@id/QRTransactionFragment" />
<action
android:id="@+id/action_inputAmountFragment_to_timeoutFragment"
app:destination="@id/timeoutFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputAmountFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputAmountFragment_to_QRConnectingFragment"
app:destination="@id/QRConnectingFragment" />
<action
android:id="@+id/action_inputAmountFragment_to_nav_main"
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
app:destination="@id/nav_main" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputAmountFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputAmountFragment_to_pinPadFragment"
app:destination="@id/pinPadFragment" />
</fragment>
<fragment
android:id="@+id/nav_settings"
android:name="com.utsmm.kbz.ui.SettingsFragment"
android:label="@string/menu_settings" >
<action
android:id="@+id/action_nav_settings_to_configSettingsFragment"
app:destination="@id/configSettingsFragment" />
<action
android:id="@+id/action_nav_settings_to_deleteKeyFragment"
app:destination="@id/deleteKeyFragment" />
</fragment>
<fragment
tools:layout="@layout/fragment_trans_result_screen"
android:id="@+id/transactionResultFragment"
android:name="com.utsmm.kbz.ui.core_ui.TransactionResultFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_transactionResultFragment_to_nav_main"
app:destination="@id/nav_main" />
<action
android:id="@+id/action_transactionResultFragment_to_transactionDetailFragment"
app:destination="@id/transactionDetailFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/transactionResultFragment"
app:popUpToInclusive="true"
android:id="@+id/action_transactionResultFragment_to_printReceiptFragment"
app:destination="@id/printReceiptFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/transactionResultFragment"
app:popUpToInclusive="true"
android:id="@+id/action_transactionResultFragment_to_receiptFragment"
app:destination="@id/receiptFragment" />
</fragment>
<fragment
tools:layout="@layout/fragment_sign_on"
android:id="@+id/nav_sign_on"
android:name="com.utsmm.kbz.ui.sign_on.SignOnFragment"
android:label="@string/menu_sign_on" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_nav_sign_on_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
tools:layout="@layout/fragment_dashboard_screen"
android:id="@+id/nav_main"
android:name="com.utsmm.kbz.MainFragment"
android:label="@string/menu_dashboard" >
<action
android:id="@+id/action_nav_main_to_cardWaitingFragment"
app:destination="@id/cardWaitingFragment" />
<action
android:id="@+id/action_nav_main_to_inputPasswordFragment"
app:destination="@id/inputPasswordFragment" />
<action
android:id="@+id/action_nav_main_to_inputAmountFragment"
app:destination="@id/inputAmountFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_nav_main_to_disabledTerminalFragment"
app:destination="@id/disabledTerminalFragment" />
<action
android:id="@+id/action_nav_main_to_dashboardTransFragment"
app:destination="@id/dashboardTransFragment" />
<action
android:id="@+id/action_nav_main_to_managementFunctionFragment"
app:destination="@id/managementFunctionFragment" />
<action
android:id="@+id/action_nav_main_to_versionFragment"
app:destination="@id/versionFragment" />
<action
android:id="@+id/action_nav_main_to_QRTransactionFragment"
app:destination="@id/QRTransactionFragment" />
<action
android:id="@+id/action_nav_main_to_QRConnectingFragment"
app:destination="@id/QRConnectingFragment" />
<action
android:id="@+id/action_nav_main_to_qrFragment"
app:destination="@id/qrFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/nav_main"
app:popUpToInclusive="true"
android:id="@+id/action_nav_main_to_TMSProcessFragment"
app:destination="@id/TMSProcessFragment" />
<action
android:id="@+id/action_nav_main_to_processingCardFragment"
app:destination="@id/processingCardFragment" />
<action
android:id="@+id/action_nav_main_to_reprintAnyTransactionFragment"
app:destination="@id/reprintAnyTransactionFragment" />
<action
android:id="@+id/action_nav_main_to_nav_sign_on"
app:destination="@id/nav_sign_on" />
</fragment>
<fragment
tools:layout="@layout/fragment_capture_card_screen"
android:id="@+id/cardWaitingFragment"
android:name="com.utsmm.kbz.ui.core_ui.CardWaitingFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/cardWaitingFragment"
app:popUpToInclusive="true"
android:id="@+id/action_cardWaitingFragment_to_manualEntryFragment"
app:destination="@id/manualEntryFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/cardWaitingFragment"
app:popUpToInclusive="true"
android:id="@+id/action_cardWaitingFragment_to_timeoutFragment"
app:destination="@id/timeoutFragment" />
<action
android:id="@+id/action_cardWaitingFragment_to_processingCardFragment"
app:destination="@id/processingCardFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_cardWaitingFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
tools:layout="@layout/fragment_emv_input_pin"
android:id="@+id/emvTransactionFragment"
android:name="com.utsmm.kbz.ui.core_ui.EmvTransactionFragment" >
<action
android:id="@+id/action_emvTransactionFragment_to_nav_main"
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
app:destination="@id/nav_main" />
<action
android:id="@+id/action_emvTransactionFragment_to_transactionResultFragment"
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
app:destination="@id/transactionResultFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/emvTransactionFragment"
app:popUpToInclusive="true"
android:id="@+id/action_emvTransactionFragment_to_cardWaitingFragment"
app:destination="@id/cardWaitingFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/emvTransactionFragment"
app:popUpToInclusive="true"
android:id="@+id/action_emvTransactionFragment_to_errorFragment"
app:destination="@id/errorFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/emvTransactionFragment"
app:popUpToInclusive="true"
android:id="@+id/action_emvTransactionFragment_to_processingFragment"
app:destination="@id/processingFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/emvTransactionFragment"
app:popUpToInclusive="true"
android:id="@+id/action_emvTransactionFragment_to_inputRRNFragment"
app:destination="@id/inputRRNFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/emvTransactionFragment"
app:popUpToInclusive="true"
android:id="@+id/action_emvTransactionFragment_to_pinPadFragment"
app:destination="@id/pinPadFragment" />
</fragment>
<fragment
tools:layout="@layout/fragment_view_batch_screen"
android:id="@+id/settlementTransactionFragment"
android:name="com.utsmm.kbz.ui.settlement.SettlementTransactionFragment"
android:label="@string/menu_settlement" >
<action
android:id="@+id/action_settlementTransactionFragment_to_nav_main"
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
app:destination="@id/nav_main" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_settlementTransactionFragment_to_transactionResultFragment"
app:destination="@id/transactionResultFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/settlementTransactionFragment"
app:popUpToInclusive="true"
android:id="@+id/action_settlementTransactionFragment_to_reprintReceiptFragment"
app:destination="@id/reprintReceiptFragment" />
</fragment>
<fragment
android:id="@+id/transactionHistoryFragment"
tools:layout="@layout/fragment_transaction_reprint_screen"
android:name="com.utsmm.kbz.ui.management.TransactionReprintFragment"
android:label="TransactionHistory" >
<action
android:id="@+id/action_transactionHistoryFragment_to_printReceiptFragment"
app:destination="@id/printReceiptFragment" />
<action
android:id="@+id/action_transactionHistoryFragment_to_confirmTransactionFragment"
app:destination="@id/confirmTransactionFragment" />
</fragment>
<fragment
android:id="@+id/configSettingsFragment"
android:name="com.utsmm.kbz.ui.settings.ConfigSettingsFragment"
android:label="ConfigSettingsFragment" />
<fragment
tools:layout="@layout/fragment_password_screen"
android:id="@+id/inputPasswordFragment"
android:name="com.utsmm.kbz.ui.core_ui.InputPasswordFragment"
android:label="@string/title_password" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputPasswordFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputPasswordFragment_to_nav_main"
app:destination="@id/nav_main" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputPasswordFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputPasswordFragment_to_settlementTransactionFragment"
app:destination="@id/settlementTransactionFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputPasswordFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputPasswordFragment_to_cardWaitingFragment"
app:destination="@id/cardWaitingFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputPasswordFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputPasswordFragment_to_inputAmountFragment"
app:destination="@id/inputAmountFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputPasswordFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputPasswordFragment_to_selectHostFragment"
app:destination="@id/selectHostFragment" />
<action
android:id="@+id/action_inputPasswordFragment_to_timeoutFragment"
app:destination="@id/timeoutFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputPasswordFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputPasswordFragment_to_nav_settings"
app:destination="@id/nav_settings" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputPasswordFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputPasswordFragment_to_selectRefundFragment"
app:destination="@id/selectRefundFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputPasswordFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputPasswordFragment_to_inputTraceFragment"
app:destination="@id/inputTraceFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputPasswordFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputPasswordFragment_to_qrRefundList"
app:destination="@id/qrRefundList" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputPasswordFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputPasswordFragment_to_QRRefundProcessFragment"
app:destination="@id/QRRefundProcessFragment" />
</fragment>
<fragment
android:id="@+id/confirmTransactionFragment"
android:name="com.utsmm.kbz.ui.core_ui.ConfirmTransactionFragment"
tools:layout="@layout/fragment_trans_info_screen"
android:label="@string/txt_title_trans_info">
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_confirmTransactionFragment_to_nav_main"
app:destination="@id/nav_main" />
<action
android:id="@+id/action_confirmTransactionFragment_to_inputTipAmountFragment"
app:destination="@id/inputTipAmountFragment" />
<action
android:id="@+id/action_confirmTransactionFragment_to_processingFragment"
app:destination="@id/processingFragment" />
<action
android:id="@+id/action_confirmTransactionFragment_to_timeoutFragment"
app:destination="@id/timeoutFragment" />
</fragment>
<fragment
android:id="@+id/inputRRNFragment"
android:name="com.utsmm.kbz.ui.core_ui.InputRRNFragment"
tools:layout="@layout/fragment_input_rrn_screen"
android:label="@string/menu_refund">
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputRRNFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputRRNFragment_to_processingFragment"
app:destination="@id/processingFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputRRNFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputRRNFragment_to_timeoutFragment"
app:destination="@id/timeoutFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_inputRRNFragment_to_transactionResultFragment"
app:destination="@id/transactionResultFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_inputRRNFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
android:id="@+id/inputTraceFragment"
android:name="com.utsmm.kbz.ui.core_ui.InputTraceNoFragment"
tools:layout="@layout/fragment_input_invoice_screen">
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputTraceFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputTraceFragment_to_cardWaitingFragment"
app:destination="@id/cardWaitingFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/inputTraceFragment"
app:popUpToInclusive="true"
android:id="@+id/action_inputTraceFragment_to_confirmTransactionFragment"
app:destination="@id/confirmTransactionFragment" />
<action
android:id="@+id/action_inputTraceFragment_to_timeoutFragment"
app:destination="@id/timeoutFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_inputTraceFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
android:id="@+id/inputApprovalFragment"
android:name="com.utsmm.kbz.ui.core_ui.InputApprovalFragment"
tools:layout="@layout/fragment_input_approval_screen">
<action
android:id="@+id/action_inputApprovalFragment_to_confirmTransactionFragment"
app:destination="@id/confirmTransactionFragment" />
<action
android:id="@+id/action_inputApprovalFragment_to_timeoutFragment"
app:destination="@id/timeoutFragment" />
</fragment>
<fragment
tools:layout="@layout/fragment_emv_card_read"
android:id="@+id/emvReadCardFragment"
android:name="com.utsmm.kbz.ui.core_ui.EmvReadCardFragment"
android:label="EmvReadCardFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_emvReadCardFragment_to_nav_main"
app:destination="@id/nav_main" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/cardWaitingFragment"
app:popUpToInclusive="true"
android:id="@+id/action_emvReadCardFragment_to_inputRRNFragment"
app:destination="@id/inputRRNFragment" />
</fragment>
<fragment
tools:layout="@layout/fragment_transaction_detail"
android:id="@+id/transactionDetailFragment"
android:name="com.utsmm.kbz.ui.core_ui.TransactionDetailFragment"
android:label="TransactionDetailFragment" />
<fragment
tools:layout="@layout/fragment_qr_transaction"
android:id="@+id/QRTransactionFragment"
android:name="com.utsmm.kbz.ui.kpay.QRTransactionFragment"
android:label="@string/title_wave_pay" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/QRTransactionFragment"
app:popUpToInclusive="true"
android:id="@+id/action_QRTransactionFragment_to_processingFragment"
app:destination="@id/processingFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/QRTransactionFragment"
app:popUpToInclusive="true"
android:id="@+id/action_QRTransactionFragment_to_transactionResultFragment"
app:destination="@id/transactionResultFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_QRTransactionFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
android:id="@+id/disabledTerminalFragment"
tools:layout="@layout/fragment_disable_terminal"
android:name="com.utsmm.kbz.ui.disabled.DisabledTerminalFragment"
android:label="DisabledTerminalFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/disabledTerminalFragment"
app:popUpToInclusive="true"
android:id="@+id/action_disabledTerminalFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
android:id="@+id/signatureFragment"
tools:layout="@layout/fragment_signature_view"
android:name="com.utsmm.kbz.ui.core_ui.SignatureFragment"
android:label="SignatureFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_signatureFragment_to_transactionResultFragment"
app:destination="@id/transactionResultFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_signatureFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
tools:layout="@layout/fragment_dashboard_trans_screen"
android:id="@+id/dashboardTransFragment"
android:name="com.utsmm.kbz.ui.dashboard.DashboardTransFragment"
android:label="Other Features">
<action
app:launchSingleTop="true"
app:popUpTo="@+id/dashboardTransFragment"
app:popUpToInclusive="true"
android:id="@+id/action_dashboardTransFragment_to_dashboardPreAuthBottomSheet"
app:destination="@id/dashboardPreAuthBottomSheet" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/dashboardTransFragment"
app:popUpToInclusive="true"
android:id="@+id/action_dashboardTransFragment_to_inputPasswordFragment"
app:destination="@id/inputPasswordFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/dashboardTransFragment"
app:popUpToInclusive="true"
android:id="@+id/action_dashboardTransFragment_to_nav_sign_on"
app:destination="@id/nav_sign_on" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/dashboardTransFragment"
app:popUpToInclusive="true"
android:id="@+id/action_dashboardTransFragment_to_inputAmountFragment"
app:destination="@id/inputAmountFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/dashboardTransFragment"
app:popUpToInclusive="true"
android:id="@+id/action_dashboardTransFragment_to_manageFunctionFragment"
app:destination="@id/managementFunctionFragment" />
</fragment>
<dialog
tools:layout="@layout/fragment_dashboard_bottom_sheet_pre_auth"
android:id="@+id/dashboardPreAuthBottomSheet"
android:name="com.utsmm.kbz.ui.dashboard.DashboardPreAuthBottomSheet"
android:label="DashboardPreAuthBottomSheet" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/dashboardPreAuthBottomSheet"
app:popUpToInclusive="true"
android:id="@+id/action_dashboardPreAuthBottomSheet_to_dashboardPreAuthCancelBottomSheet"
app:destination="@id/dashboardPreAuthCancelBottomSheet" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/dashboardPreAuthBottomSheet"
app:popUpToInclusive="true"
android:id="@+id/action_dashboardPreAuthBottomSheet_to_dashboardTransFragment"
app:destination="@id/dashboardTransFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/dashboardPreAuthBottomSheet"
app:popUpToInclusive="true"
android:id="@+id/action_dashboardPreAuthBottomSheet_to_inputAmountFragment"
app:destination="@id/inputAmountFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/dashboardPreAuthBottomSheet"
app:popUpToInclusive="true"
android:id="@+id/action_dashboardPreAuthBottomSheet_to_inputPasswordFragment"
app:destination="@id/inputPasswordFragment" />
</dialog>
<dialog
tools:layout="@layout/fragment_dashboard_bottom_sheet_pre_auth_cancel"
android:id="@+id/dashboardPreAuthCancelBottomSheet"
android:name="com.utsmm.kbz.ui.dashboard.DashboardPreAuthCancelBottomSheet"
android:label="DashboardPreAuthCancelBottomSheet" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/dashboardPreAuthCancelBottomSheet"
app:popUpToInclusive="true"
android:id="@+id/action_dashboardPreAuthCancelBottomSheet_to_dashboardPreAuthBottomSheet"
app:destination="@id/dashboardPreAuthBottomSheet" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/dashboardPreAuthCancelBottomSheet"
app:popUpToInclusive="true"
android:id="@+id/action_dashboardPreAuthCancelBottomSheet_to_inputPasswordFragment"
app:destination="@id/inputPasswordFragment" />
</dialog>
<fragment
tools:layout="@layout/fragment_print_receipt_screen"
android:id="@+id/printReceiptFragment"
android:name="com.utsmm.kbz.ui.core_ui.PrintReceiptFragment"
android:label="PrintReceiptFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_printReceiptFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
tools:layout="@layout/fragment_management_screen"
android:id="@+id/managementFunctionFragment"
android:name="com.utsmm.kbz.ui.management.ManagementFunctionFragment"
android:label="@string/title_select_function" >
<action
android:id="@+id/action_managementFunctionFragment_to_selectHostFragment"
app:destination="@id/selectHostFragment" />
<action
android:id="@+id/action_managementFunctionFragment_to_settlementTransactionFragment"
app:destination="@id/settlementTransactionFragment" />
<action
android:id="@+id/action_managementFunctionFragment_to_inputTraceFragment"
app:destination="@id/inputTraceFragment" />
<action
android:id="@+id/action_managementFunctionFragment_to_confirmTransactionFragment"
app:destination="@id/confirmTransactionFragment" />
<action
android:id="@+id/action_managementFunctionFragment_to_transactionNotFoundFragment"
app:destination="@id/transactionNotFoundFragment" />
<action
android:id="@+id/action_managementFunctionFragment_to_nav_main"
app:launchSingleTop="true"
app:popUpTo="@+id/managementFunctionFragment"
app:popUpToInclusive="true"
app:destination="@id/nav_main" />
<action
android:id="@+id/action_managementFunctionFragment_to_reprintAnyTransactionFragment"
app:destination="@id/reprintAnyTransactionFragment" />
<action
android:id="@+id/action_managementFunctionFragment_to_detailReportFragment"
app:destination="@id/detailReportFragment" />
<action
android:id="@+id/action_managementFunctionFragment_to_transactionSummaryFragment"
app:destination="@id/transactionSummaryFragment" />
</fragment>
<fragment
tools:layout="@layout/fragment_select_host_screen"
android:id="@+id/selectHostFragment"
android:name="com.utsmm.kbz.ui.management.SelectHostFragment"
android:label="SelectHostFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/selectHostFragment"
app:popUpToInclusive="true"
android:id="@+id/action_selectHostFragment_to_transactionHistoryFragment"
app:destination="@id/transactionHistoryFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_selectHostFragment_to_transactionResultFragment"
app:destination="@id/transactionResultFragment" />
<action
android:id="@+id/action_selectHostFragment_to_inputTraceFragment"
app:destination="@id/inputTraceFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/selectHostFragment"
app:popUpToInclusive="true"
android:id="@+id/action_selectHostFragment_to_timeoutFragment"
app:destination="@id/timeoutFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/selectHostFragment"
app:popUpToInclusive="true"
android:id="@+id/action_selectHostFragment_to_transactionSummaryFragment"
app:destination="@id/transactionSummaryFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_selectHostFragment_to_nav_main"
app:destination="@id/nav_main" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/selectHostFragment"
app:popUpToInclusive="true"
android:id="@+id/action_selectHostFragment_to_historyFragment"
app:destination="@id/historyFragment" />
<action
android:id="@+id/action_selectHostFragment_to_reprintAnyTransactionFragment"
app:destination="@id/reprintAnyTransactionFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/selectHostFragment"
app:popUpToInclusive="true"
android:id="@+id/action_selectHostFragment_to_settlementTransactionFragment"
app:destination="@id/settlementTransactionFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/selectHostFragment"
app:popUpToInclusive="true"
android:id="@+id/action_selectHostFragment_to_errorFragment"
app:destination="@id/errorFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/selectHostFragment"
app:popUpToInclusive="true"
android:id="@+id/action_selectHostFragment_to_detailReportFragment"
app:destination="@id/detailReportFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/selectHostFragment"
app:popUpToInclusive="true"
android:id="@+id/action_selectHostFragment_to_cardWaitingFragment"
app:destination="@id/cardWaitingFragment" />
</fragment>
<fragment
tools:layout="@layout/fragment_tip_amount_screen"
android:id="@+id/inputTipAmountFragment"
android:name="com.utsmm.kbz.ui.core_ui.InputTipAmountFragment"
android:label="InputTipAmountFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_inputTipAmountFragment_to_processingFragment"
app:destination="@id/processingFragment" />
</fragment>
<fragment
tools:layout="@layout/fragment_processing_screen"
android:id="@+id/processingFragment"
android:name="com.utsmm.kbz.ui.core_ui.ProcessingFragment"
android:label="@string/title_processing" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_processingFragment_to_nav_main"
app:destination="@id/nav_main" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_processingFragment_to_transactionResultFragment"
app:destination="@id/transactionResultFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_processingFragment_to_successFragment"
app:destination="@id/successFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_processingFragment_to_errorFragment"
app:destination="@id/errorFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/processingFragment"
app:popUpToInclusive="true"
android:id="@+id/action_processingFragment_to_signatureFragment"
app:destination="@id/signatureFragment" />
</fragment>
<fragment
android:id="@+id/versionFragment"
tools:layout="@layout/fragment_version_screen"
android:name="com.utsmm.kbz.ui.navigation.VersionFragment"
android:label="VersionFragment" />
<fragment
tools:layout="@layout/fragment_manual_entry_screen"
android:id="@+id/manualEntryFragment"
android:name="com.utsmm.kbz.ui.manual_entry.ManualEntryFragment"
android:label="ManualEntryFragment" >
<action
android:id="@+id/action_manualEntryFragment_to_timeoutFragment"
app:destination="@id/timeoutFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/manualEntryFragment"
app:popUpToInclusive="true"
android:id="@+id/action_manualEntryFragment_to_pinPadFragment"
app:destination="@id/pinPadFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/manualEntryFragment"
app:popUpToInclusive="true"
android:id="@+id/action_manualEntryFragment_to_inputRRNFragment"
app:destination="@id/inputRRNFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/manualEntryFragment"
app:popUpToInclusive="true"
android:id="@+id/action_manualEntryFragment_to_emvTransactionFragment"
app:destination="@id/emvTransactionFragment" />
</fragment>
<fragment
tools:layout="@layout/fragment_timeout_screen"
android:id="@+id/timeoutFragment"
android:name="com.utsmm.kbz.ui.core_ui.TimeoutFragment"
android:label="TimeoutFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_timeoutFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
tools:layout="@layout/fragment_pin_pad_base"
android:id="@+id/pinPadFragment"
android:name="com.utsmm.kbz.ui.pinpad.PinPadFragment"
android:label="@string/title_enter_pin" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_pinPadFragment_to_nav_main"
app:destination="@id/nav_main" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/pinPadFragment"
app:popUpToInclusive="true"
android:id="@+id/action_pinPadFragment_to_processingFragment"
app:destination="@id/processingFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/pinPadFragment"
app:popUpToInclusive="true"
android:id="@+id/action_pinPadFragment_to_timeoutFragment"
app:destination="@id/timeoutFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/pinPadFragment"
app:popUpToInclusive="true"
android:id="@+id/action_pinPadFragment_to_inputRRNFragment"
app:destination="@id/inputRRNFragment" />
</fragment>
<fragment
tools:layout="@layout/fragment_transaction_history_screen"
android:id="@+id/historyFragment"
android:name="com.utsmm.kbz.ui.management.TransactionHistoryFragment"
android:label="TransactionHistoryFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_historyFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
tools:layout="@layout/fragment_transaction_summary_screen"
android:id="@+id/transactionSummaryFragment"
android:name="com.utsmm.kbz.ui.management.TransactionSummaryFragment"
android:label="TransactionSummaryFragment" />
<fragment
tools:layout="@layout/fragment_trans_not_found"
android:id="@+id/transactionNotFoundFragment"
android:name="com.utsmm.kbz.ui.management.TransactionNotFoundFragment"
android:label="TransactionNotFoundFragment" />
<fragment
tools:layout="@layout/fragment_processing_card_screen"
android:id="@+id/processingCardFragment"
android:name="com.utsmm.kbz.ui.core_ui.ProcessingCardFragment"
android:label="@string/title_processing_card" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/processingCardFragment"
app:popUpToInclusive="true"
android:id="@+id/action_processingCardFragment_to_pinPadFragment"
app:destination="@id/pinPadFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/processingCardFragment"
app:popUpToInclusive="true"
android:id="@+id/action_processingCardFragment_to_nav_main"
app:destination="@id/nav_main" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/processingCardFragment"
app:popUpToInclusive="true"
android:id="@+id/action_processingCardFragment_to_emvTransactionFragment"
app:destination="@id/emvTransactionFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/processingCardFragment"
app:popUpToInclusive="true"
android:id="@+id/action_processingCardFragment_to_errorFragment"
app:destination="@id/errorFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/processingCardFragment"
app:popUpToInclusive="true"
android:id="@+id/action_processingCardFragment_to_processingFragment"
app:destination="@id/processingFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/processingCardFragment"
app:popUpToInclusive="true"
android:id="@+id/action_processingCardFragment_to_inputAmountFragment"
app:destination="@id/inputAmountFragment" />
</fragment>
<fragment
tools:layout="@layout/fragment_delete_key"
android:id="@+id/deleteKeyFragment"
android:name="com.utsmm.kbz.ui.settings.DeleteKeyFragment"
android:label="DeleteKeyFragment" />
<fragment
tools:layout="@layout/fragment_transaction_reprint_any_screen"
android:id="@+id/reprintAnyTransactionFragment"
android:name="com.utsmm.kbz.ui.management.ReprintAnyTransactionFragment"
android:label="ReprintAnyTransactionFragment" >
<action
android:id="@+id/action_reprintAnyTransactionFragment_to_printReceiptFragment"
app:destination="@id/printReceiptFragment" />
<action
android:id="@+id/action_reprintAnyTransactionFragment_to_confirmTransactionFragment"
app:destination="@id/confirmTransactionFragment" />
<action
android:id="@+id/action_reprintAnyTransactionFragment_to_QRInquiryResultFragment"
app:destination="@id/QRInquiryResultFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/reprintAnyTransactionFragment"
app:popUpToInclusive="true"
android:id="@+id/action_reprintAnyTransactionFragment_to_transactionResultFragment"
app:destination="@id/transactionResultFragment" />
</fragment>
<fragment
tools:layout="@layout/fragment_reprint_receipt_screen"
android:id="@+id/reprintReceiptFragment"
android:name="com.utsmm.kbz.ui.management.ReprintReceiptFragment"
android:label="@string/title_reprint_receipt" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_reprintReceiptFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
tools:layout="@layout/fragment_error_screen"
android:id="@+id/errorFragment"
android:name="com.utsmm.kbz.ui.core_ui.ErrorFragment"
android:label="@string/txt_title_error" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_errorFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
android:id="@+id/QRConnectingFragment"
tools:layout="@layout/fragment_qr_connecting"
android:name="com.utsmm.kbz.ui.kpay.QRConnectingFragment"
android:label="QRConnectingFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/QRConnectingFragment"
app:popUpToInclusive="true"
android:id="@+id/action_QRConnectingFragment_to_QRTransactionFragment"
app:destination="@id/QRTransactionFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_QRConnectingFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
tools:layout="@layout/fragment_qr_inquiry_result"
android:id="@+id/QRInquiryResultFragment"
android:name="com.utsmm.kbz.ui.kpay.QRInquiryResultFragment"
android:label="QRInquiryResultFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_QRInquiryResultFragment_to_nav_main"
app:destination="@id/nav_main" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/QRInquiryResultFragment"
app:popUpToInclusive="true"
android:id="@+id/action_QRInquiryResultFragment_to_printReceiptFragment"
app:destination="@id/printReceiptFragment" />
</fragment>
<fragment
tools:layout="@layout/fragment_detail_report_screen"
android:id="@+id/detailReportFragment"
android:name="com.utsmm.kbz.ui.management.DetailReportFragment"
android:label="DetailReportFragment" >
<action
app:launchSingleTop="true"
app:popUpToInclusive="true"
app:popUpTo="@id/mobile_navigation"
android:id="@+id/action_detailReportFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
tools:layout="@layout/fragment_qr_refund_screen"
android:id="@+id/QRRefundFragment"
android:name="com.utsmm.kbz.ui.kpay.QRRefundFragment"
android:label="QRRefund" >
<action
android:id="@+id/action_QRRefundFragment_to_transactionResultFragment"
app:destination="@id/transactionResultFragment" />
<action
app:launchSingleTop="true"
app:popUpToInclusive="true"
app:popUpTo="@id/mobile_navigation"
android:id="@+id/action_QRRefundFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
tools:layout="@layout/fragment_select_refund_screen"
android:id="@+id/selectRefundFragment"
android:name="com.utsmm.kbz.ui.management.SelectRefundFragment"
android:label="SelectRefundFragment" >
<action
android:id="@+id/action_selectRefundFragment_to_QRRefundFragment"
app:destination="@id/QRRefundFragment" />
<action
android:id="@+id/action_selectRefundFragment_to_inputAmountFragment"
app:destination="@id/inputAmountFragment" />
</fragment>
<fragment
android:id="@+id/editStanFragment"
tools:layout="@layout/fragment_edit_stan_screen"
android:name="com.utsmm.kbz.ui.core_ui.EditStanFragment"
android:label="EditStanFragment" />
<fragment
tools:layout="@layout/fragment_tms_process"
android:id="@+id/TMSProcessFragment"
android:name="com.utsmm.kbz.ui.tms.TMSProcessFragment"
android:label="TMS Process" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/TMSProcessFragment"
app:popUpToInclusive="true"
android:id="@+id/action_TMSProcessFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
android:id="@+id/successFragment"
android:name="com.utsmm.kbz.ui.core_ui.SuccessFragment"
tools:layout="@layout/fragment_success_screen"
android:label="SuccessFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_successFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<fragment
android:id="@+id/receiptFragment"
tools:layout="@layout/fragment_receipt_screen"
android:name="com.utsmm.kbz.ui.core_ui.ReceiptFragment"
android:label="ReceiptFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/mobile_navigation"
app:popUpToInclusive="true"
android:id="@+id/action_receiptFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
<!-- qr menu-->
<fragment
android:id="@+id/qrFragment"
tools:layout="@layout/fragment_qr_pay"
android:name="com.utsmm.kbz.ui.qr_pay.QRPayFragment"
android:label="QRPayFragment" >
<action
android:id="@+id/action_qrFragment_to_inputAmountFragment"
app:destination="@id/inputAmountFragment" />
<action
android:id="@+id/action_qrFragment_to_qrHistory"
app:destination="@id/reprintAnyTransactionFragment"
/>
<action
android:id="@+id/action_qrFragment_to_qr_refund_list"
app:destination="@id/qrRefundList"
/>
<action
app:launchSingleTop="true"
app:popUpTo="@+id/fragment_qr_pay"
app:popUpToInclusive="true"
android:id="@+id/action_qrFragment_to_inputPasswordFragment"
app:destination="@id/inputPasswordFragment" />
</fragment>
<!-- <fragment-->
<!-- android:id="@+id/qrHistory"-->
<!-- tools:layout="@layout/fragment_qr_history"-->
<!-- android:name="com.utsmm.kbz.ui.qr_pay.QRHistoryFragment"-->
<!-- >-->
<!-- </fragment>-->
<fragment
android:id="@+id/qrRefundList"
tools:layout="@layout/fragment_qr_refund"
android:name="com.utsmm.kbz.ui.qr_pay.QRRefundFragment"
>
<action
android:id="@+id/action_qrRefundList_to_qrRefundDetail"
app:destination="@id/qrRefundDetail"
/>
<action
app:launchSingleTop="true"
app:popUpTo="@+id/QRRefundPasswordFragment"
app:popUpToInclusive="true"
android:id="@+id/action_qrRefundPasswordFragment_to_inputPasswordFragment"
app:destination="@id/inputPasswordFragment" />
</fragment>
<fragment
android:id="@+id/qrRefundDetail"
tools:layout="@layout/fragment_qr_refund_detail"
android:name="com.utsmm.kbz.ui.qr_pay.QRRefundDetailFragment"
>
<action
android:id="@+id/action_QRRefundDetail_to_transactionResultFragment"
app:destination="@id/transactionResultFragment" />
<action
app:launchSingleTop="true"
app:popUpToInclusive="true"
app:popUpTo="@id/mobile_navigation"
android:id="@+id/action_QRRefundDetail_to_nav_main"
app:destination="@id/nav_main" />
<!-- <action-->
<!-- app:launchSingleTop="true"-->
<!-- app:popUpTo="@+id/QRRefundFragment"-->
<!-- app:popUpToInclusive="true"-->
<!-- android:id="@+id/action_qrRefundDetail_to_inputAmountFragment"-->
<!-- app:destination="@id/inputAmountFragment" />-->
<action
app:launchSingleTop="true"
app:popUpTo="@+id/qrRefundDetail"
app:popUpToInclusive="true"
android:id="@+id/action_QRRefundDetail_to_inputPasswordFragment"
app:destination="@id/inputPasswordFragment" />
</fragment>
<fragment
tools:layout="@layout/fragment_qr_refund_process"
android:id="@+id/QRRefundProcessFragment"
android:name="com.utsmm.kbz.ui.qr_pay.QRRefundProcessFragment"
android:label="QRRefundProcessFragment" >
<action
app:launchSingleTop="true"
app:popUpTo="@+id/QRRefundProcessFragment"
app:popUpToInclusive="true"
android:id="@+id/action_QRRefundProcessFragment_to_transactionResultFragment"
app:destination="@id/transactionResultFragment" />
<action
app:launchSingleTop="true"
app:popUpTo="@+id/QRRefundProcessFragment"
app:popUpToInclusive="true"
android:id="@+id/action_QRRefundProcessFragment_to_nav_main"
app:destination="@id/nav_main" />
</fragment>
</navigation>