diff --git a/templates/castle/index.html b/templates/castle/index.html index 9687d2b..5462904 100644 --- a/templates/castle/index.html +++ b/templates/castle/index.html @@ -62,6 +62,60 @@ + + + +
Pending Expense Approvals
+ + + + + Pending approval + + + + {% raw %}{{ entry.description }}{% endraw %} + + {% raw %}{{ formatDate(entry.entry_date) }}{% endraw %} + + + User: {% raw %}{{ entry.meta.user_id.substring(0, 16) }}...{% endraw %} + + + Ref: {% raw %}{{ entry.reference }}{% endraw %} + + + + {% raw %}{{ formatSats(getTotalAmount(entry)) }} sats{% endraw %} + + {% raw %}{{ getEntryFiatAmount(entry) }}{% endraw %} + + + +
+ + Approve + + + Reject + +
+
+
+
+
+
+ @@ -101,58 +155,6 @@ - - - -
-
-
Your Balance
-
-
- - Refresh balance - -
-
-
-
- {% raw %}{{ formatSats(Math.abs(balance.balance)) }} sats{% endraw %} -
-
- - {% raw %}{{ formatFiat(Math.abs(amount), currency) }}{% endraw %} - -
-
- {% raw %}{{ balance.balance > 0 ? 'Total you owe' : balance.balance < 0 ? 'Total owed to you' : 'No outstanding balances' }}{% endraw %} -
-
- {% raw %}{{ balance.balance >= 0 ? 'Castle owes you' : 'You owe Castle' }}{% endraw %} -
-
- - Pay Balance - - - Request Manual Payment - -
-
-
- - Loading balance... -
-
-
- @@ -222,57 +224,55 @@ - - + + -
Pending Expense Approvals
- - - - - Pending approval - - - - {% raw %}{{ entry.description }}{% endraw %} - - {% raw %}{{ formatDate(entry.entry_date) }}{% endraw %} - - - User: {% raw %}{{ entry.meta.user_id.substring(0, 16) }}...{% endraw %} - - - Ref: {% raw %}{{ entry.reference }}{% endraw %} - - - - {% raw %}{{ formatSats(getTotalAmount(entry)) }} sats{% endraw %} - - {% raw %}{{ getEntryFiatAmount(entry) }}{% endraw %} - - - -
- - Approve - - - Reject - -
-
-
-
+
+
+
Your Balance
+
+
+ + Refresh balance + +
+
+
+
+ {% raw %}{{ formatSats(Math.abs(balance.balance)) }} sats{% endraw %} +
+
+ + {% raw %}{{ formatFiat(Math.abs(amount), currency) }}{% endraw %} + +
+
+ {% raw %}{{ balance.balance > 0 ? 'Total you owe' : balance.balance < 0 ? 'Total owed to you' : 'No outstanding balances' }}{% endraw %} +
+
+ {% raw %}{{ balance.balance >= 0 ? 'Castle owes you' : 'You owe Castle' }}{% endraw %} +
+
+ + Pay Balance + + + Request Manual Payment + +
+
+
+ + Loading balance... +
@@ -319,6 +319,80 @@
+ + + +
+
+
Recent Transactions
+
+
+ + Refresh transactions + +
+
+ + + + + + Cleared + + + Pending + + + Flagged - needs review + + + Voided + + + + + {% raw %}{{ entry.description }}{% endraw %} + + + Receivable + + + Payable + + + + Payable + + + Receivable + + + + {% raw %}{{ formatDate(entry.entry_date) }}{% endraw %} + + + Ref: {% raw %}{{ entry.reference }}{% endraw %} + + + + Source: {% raw %}{{ entry.meta.source }}{% endraw %} + Via: {% raw %}{{ entry.meta.created_via }}{% endraw %} + + + + {% raw %}{{ formatSats(getTotalAmount(entry)) }} sats{% endraw %} + + {% raw %}{{ getEntryFiatAmount(entry) }}{% endraw %} + + + + +
+ No transactions yet +
+
+
+ @@ -565,80 +639,6 @@ - - - - -
-
-
Recent Transactions
-
-
- - Refresh transactions - -
-
- - - - - - Cleared - - - Pending - - - Flagged - needs review - - - Voided - - - - - {% raw %}{{ entry.description }}{% endraw %} - - - Receivable - - - Payable - - - - Payable - - - Receivable - - - - {% raw %}{{ formatDate(entry.entry_date) }}{% endraw %} - - - Ref: {% raw %}{{ entry.reference }}{% endraw %} - - - - Source: {% raw %}{{ entry.meta.source }}{% endraw %} - Via: {% raw %}{{ entry.meta.created_via }}{% endraw %} - - - - {% raw %}{{ formatSats(getTotalAmount(entry)) }} sats{% endraw %} - - {% raw %}{{ getEntryFiatAmount(entry) }}{% endraw %} - - - - -
- No transactions yet -
-
-