예제 #1
0
        protected override void LoadRecordForEditing(PassbookRowDTO rec)
        {
            switch (rec.DocRefType)
            {
            case ByfBankMemoNode.TypeName:
            case PASSBOOKROW_TYPE:
                if (AppArgs.CanEditPassbookRow(true))
                {
                    CreateCrud().EditCurrentRecord(rec);
                }
                break;

            case "PassbookTally.DomainLib.DTOs.RequestedChequeDTO":
            case "RentLog.DomainLib11.DTOs.ChequeVoucherDTO":
                LaunchChequeVoucherViewer(rec);
                break;

            default: break;
            }
        }