2015-04-04 04:46:33 +00:00
|
|
|
$doctype 5
|
|
|
|
|
|
|
|
<h3>Journal
|
|
|
|
|
|
|
|
$if not $ L.null entries
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2015-04-09 22:40:58 +00:00
|
|
|
<th>_{MsgTime}
|
|
|
|
<th>_{MsgDescription}
|
|
|
|
<th>_{MsgValueIn $ appCurrency $ appSettings master}
|
2015-04-09 19:39:39 +00:00
|
|
|
$forall (eTransCash) <- list
|
|
|
|
$case eTransCash
|
|
|
|
$of Left trans
|
|
|
|
<tr>
|
|
|
|
<td>#{formatTime defaultTimeLocale "%A %F %H:%M" $ transactionTime trans}
|
|
|
|
<td>#{transactionDescription trans}
|
|
|
|
<td>#{formatIntCurrency (transactionAmount trans)} #{appCurrency $ appSettings master}
|
|
|
|
$of Right cash
|
|
|
|
<tr #check>
|
|
|
|
<td colspan="2">
|
2015-04-10 16:34:58 +00:00
|
|
|
_{MsgCashCheckOf $ formatTime defaultTimeLocale "%A %F %H:%M" $ cashCheckTime cash}:
|
2015-04-10 12:50:44 +00:00
|
|
|
<td>#{formatIntCurrency (cashCheckBalance cash)} #{appCurrency $ appSettings master}
|
2015-04-04 04:46:33 +00:00
|
|
|
<tfoot>
|
|
|
|
<tr>
|
2015-04-09 22:40:58 +00:00
|
|
|
<td colspan="2">_{MsgTotalValue}:
|
|
|
|
<td>#{formatIntCurrency (fromIntegral total)} #{appCurrency $ appSettings master}
|
2015-04-04 04:46:33 +00:00
|
|
|
<p>
|
2015-04-09 22:40:58 +00:00
|
|
|
_{MsgCashStock}: #{formatIntCurrency (fromIntegral cashBalance)} #{appCurrency $ appSettings master}
|
2015-09-07 16:15:30 +00:00
|
|
|
$if not $ L.null next
|
|
|
|
<div>
|
|
|
|
<div .right>
|
|
|
|
<a href="@{JournalPageR 1}">_{MsgNextPage}
|
2015-04-04 04:46:33 +00:00
|
|
|
|
2015-04-09 15:28:08 +00:00
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href=@{PayoutR}>
|
2015-04-09 22:40:58 +00:00
|
|
|
_{MsgPayoutFromCash}
|
2015-04-09 15:28:08 +00:00
|
|
|
<li>
|
|
|
|
<a href=@{CashCheckR}>
|
2015-04-09 22:40:58 +00:00
|
|
|
_{MsgCashCheck}
|
2015-04-04 04:46:33 +00:00
|
|
|
$else
|
2015-04-09 22:40:58 +00:00
|
|
|
<p>_{MsgNothingToShow}
|