public DishonourReversalExcelImportViewModel(ReceiptBatchType receiptBatchType, int receiptBatchId)
        {
            batchType = receiptBatchType;
            receiptBatchID = receiptBatchId;

            reasonCodes = DishonourReversalFunctions.GetReasonCodes(batchType);

            Browse = new DelegateCommand(OnBrowse);
            Upload = new DelegateCommand(OnUpload);
            Save = new DelegateCommand(OnSave);
            Delete = new DelegateCommand(OnDelete);
            OpenExcelTemplate = new DelegateCommand(OnOpenExcelTemplate);

            Title = batchType.ToString() + " Receipts Excel Import";
            IconFileName = "Excel.jpg";
            UIConfirmation = new InteractionRequest<ConfirmationWindowViewModel>();

            if (batchType == ReceiptBatchType.Dishonour)
            {
                excelTemplateFileName = "DishonourReceiptImportTemplate.xlsx";
            }
            else
            {
                excelTemplateFileName = "ReversalReceiptImportTemplate.xlsx";
            }
        }
        public DDCCStatusChangeViewModel(ReceiptBatchType batchtype)
        {
            batchType = batchtype;
            LodgeDate = DateTime.Today;
            IsInternalCompanySelected = true;            
            receipts.Utilities.GetDDCCFileLocations(batchtype, out fileLocation, out archiveLocation);
            isLocationChanged = false;

            Browse = new DelegateCommand<string>(OnBrowse);
            Refresh = new DelegateCommand(OnRefresh);
            Lodge = new DelegateCommand(OnLodge);
            ReceiptBatchSelected = new DelegateCommand<ObservableCollection<object>>(OnReceiptBatchSelected);
            OnRefresh();

            IconFileName = "Forward.jpg";
            Title = "Lodge" + Regex.Replace(batchType.ToString(), "[A-Z]", " $0") + " Batch";
            RaisePropertyChanged("RemitterColumnCaption");

            LockTableName = "ReceiptBatch";
        }