<name>Subtotal</name>
<sql>SELECT
formatMoney(COALESCE(MAX(selrec.bankrec_endbal) +
--- SUM(currtolocal(bankaccnt_curr_id,gltrans_amount,gltrans_date) * -1),0)) AS amount
- SUM(currtolocal(bankaccnt_curr_id,gltrans_amount,gltrans_date)),0)) AS amount
+ SUM(currtolocal(bankaccnt_curr_id,gltrans_amount,gltrans_date) * -1),0)) AS amount
+-- SUM(currtolocal(bankaccnt_curr_id,gltrans_amount,gltrans_date)),0)) AS amount
FROM gltrans
JOIN bankaccnt ON (bankaccnt_accnt_id = gltrans_accnt_id)
JOIN bankrec selrec ON ((selrec.bankrec_bankaccnt_id = bankaccnt_id)
<name>ActualAmount</name>
<sql>SELECT
formatMoney(COALESCE(MAX(selrec.bankrec_endbal) +
--- SUM(currtolocal(bankaccnt_curr_id,gltrans_amount,gltrans_date) * -1),0)) AS amount
- SUM(currtolocal(bankaccnt_curr_id,gltrans_amount,gltrans_date)),0)) AS amount
+ SUM(currtolocal(bankaccnt_curr_id,gltrans_amount,gltrans_date) * -1),0)) AS amount
+-- SUM(currtolocal(bankaccnt_curr_id,gltrans_amount,gltrans_date)),0)) AS amount
FROM gltrans
JOIN bankaccnt ON (bankaccnt_accnt_id = gltrans_accnt_id)
JOIN bankrec selrec ON ((selrec.bankrec_bankaccnt_id = bankaccnt_id)
<height>136.499</height>
<label>
<rect>
- <x>454</x>
- <y>41.4985</y>
+ <x>450</x>
+ <y>43</y>
<width>162</width>
<height>15</height>
</rect>
</font>
<right/>
<vcenter/>
- <string>Add: Checks in Circulation:</string>
+ <string>Checks in Circulation:</string>
</label>
<label>
<rect>
</label>
<label>
<rect>
- <x>453</x>
- <y>73.5</y>
+ <x>450</x>
+ <y>73</y>
<width>163</width>
<height>15</height>
</rect>
</font>
<right/>
<vcenter/>
- <string>Deduct: Deposits in Circulation:</string>
+ <string>Deposits in Circulation:</string>
</label>
<label>
<rect>
- <x>396</x>
- <y>105</y>
+ <x>395</x>
+ <y>103</y>
<width>219</width>
<height>15</height>
</rect>
</label>
<label>
<rect>
- <x>454</x>
- <y>25.5</y>
+ <x>450</x>
+ <y>28</y>
<width>162</width>
<height>15</height>
</rect>
</label>
<field>
<rect>
- <x>642</x>
- <y>25.4985</y>
+ <x>640</x>
+ <y>28</y>
<width>100</width>
<height>15</height>
</rect>
</field>
<field>
<rect>
- <x>642</x>
- <y>41.5</y>
+ <x>640</x>
+ <y>43</y>
<width>100</width>
<height>15</height>
</rect>
</field>
<label>
<rect>
- <x>559</x>
- <y>57.4985</y>
+ <x>555</x>
+ <y>58</y>
<width>56</width>
<height>15</height>
</rect>
</label>
<field>
<rect>
- <x>641</x>
- <y>57.5</y>
+ <x>640</x>
+ <y>58</y>
<width>100</width>
<height>15</height>
</rect>
</field>
<field>
<rect>
- <x>642</x>
- <y>73.5</y>
+ <x>640</x>
+ <y>73</y>
<width>100</width>
<height>15</height>
</rect>
</field>
<field>
<rect>
- <x>641</x>
- <y>89.5</y>
+ <x>640</x>
+ <y>88</y>
<width>100</width>
<height>15</height>
</rect>
</field>
<field>
<rect>
- <x>641</x>
- <y>105</y>
+ <x>640</x>
+ <y>103</y>
<width>100</width>
<height>15</height>
</rect>
</field>
<label>
<rect>
- <x>439</x>
- <y>89.499</y>
+ <x>435</x>
+ <y>88</y>
<width>177</width>
<height>15</height>
</rect>
</font>
<right/>
<vcenter/>
- <string>Add: Adjustments in Circulation:</string>
+ <string>Adjustments in Circulation:</string>
</label>
</foot>
</group>