File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed
Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -781,8 +781,10 @@ export default function BalanceDetails() {
781781 Current Assets
782782 </ span >
783783 { flatAccounts
784- . filter ( ( account ) =>
785- account . accountNumber . startsWith ( "5" )
784+ . filter (
785+ ( account ) =>
786+ account . accountNumber . startsWith ( "5" ) ||
787+ account . accountNumber . startsWith ( "41" )
786788 )
787789 . map ( ( account ) => (
788790 < div
@@ -845,12 +847,9 @@ export default function BalanceDetails() {
845847 { flatAccounts
846848 . filter (
847849 ( account ) =>
848- ( ( account . accountNumber . startsWith (
850+ ( account . accountNumber . startsWith (
849851 "4"
850- ) &&
851- ! account . accountNumber . startsWith (
852- "445"
853- ) ) ||
852+ ) ||
854853 account . accountNumber . startsWith (
855854 "16"
856855 ) ) &&
@@ -888,8 +887,10 @@ export default function BalanceDetails() {
888887 )
889888 . reduce ( ( a , b ) => a + b , 0 ) +
890889 flatAccounts
891- . filter ( ( account ) =>
892- account . accountNumber . startsWith ( "5" )
890+ . filter (
891+ ( account ) =>
892+ account . accountNumber . startsWith ( "5" ) ||
893+ account . accountNumber . startsWith ( "41" )
893894 )
894895 . map ( ( account ) =>
895896 Math . abs ( account . debit - account . credit )
@@ -912,9 +913,6 @@ export default function BalanceDetails() {
912913 . filter (
913914 ( account ) =>
914915 account . accountNumber . startsWith ( "4" ) &&
915- ! account . accountNumber . startsWith (
916- "445"
917- ) &&
918916 account . credit > account . debit
919917 )
920918 . map ( ( account ) =>
You can’t perform that action at this time.
0 commit comments