File: TODO

package info (click to toggle)
libaqbanking 2.2.3-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 14,912 kB
  • ctags: 6,430
  • sloc: ansic: 59,251; cpp: 17,347; sh: 8,930; xml: 6,189; makefile: 3,326; python: 2,806; pascal: 559; perl: 267
file content (31 lines) | stat: -rw-r--r-- 1,322 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

- let aqhbci remove unneeded data from settings.conf (after migrating to
  1.9.x)


-----------------------------------------------------------------------------
temporarily stored here ;-)
  AB_SPLIT *sp;
  
  sp=AB_Split_List_First(AB_Transaction_GetSplits(t));
  if (sp) {
    /* copy information from first split to the transaction */
    /* local account */
    AB_Transaction_SetLocalCountry(t, AB_Split_GetLocalCountry(sp));
    AB_Transaction_SetLocalBankCode(t, AB_Split_GetLocalBankCode(sp));
    AB_Transaction_SetLocalBranchId(t, AB_Split_GetLocalBranchId(sp));
    AB_Transaction_SetLocalAccountNumber(t, AB_Split_GetLocalAccountNumber(sp));
    AB_Transaction_SetLocalSuffix(t, AB_Split_GetLocalSuffix(sp));
    AB_Transaction_SetLocalName(t, AB_Split_GetLocalName(sp));

    /* remote account */
    AB_Transaction_SetRemoteCountry(t, AB_Split_GetRemoteCountry(sp));
    AB_Transaction_SetRemoteBankCode(t, AB_Split_GetRemoteBankCode(sp));
    AB_Transaction_SetRemoteBranchId(t, AB_Split_GetRemoteBranchId(sp));
    AB_Transaction_SetRemoteAccountNumber(t, AB_Split_GetRemoteAccountNumber(sp));
    AB_Transaction_SetRemoteSuffix(t, AB_Split_GetRemoteSuffix(sp));
    AB_Transaction_SetRemoteName(t, AB_Split_GetRemoteName(sp));

    /* value */
    AB_Transaction_SetValue(t, AB_Split_GetValue(sp));
  }