├── assets ├── img │ ├── bg.png │ ├── mondo.png │ ├── mondo-bw.png │ └── logo.svg ├── css │ ├── global.css │ └── login.css └── js │ ├── dataTables.bootstrap.min.js │ ├── bootstrap.min.js │ └── jquery.dataTables.min.js ├── logout.php ├── inc ├── foot.php ├── head.php └── navbar.php ├── .gitignore ├── loadtoken.php ├── scripts ├── expenditure.php ├── freezeStatus.php ├── checkAccessToken.php ├── freeze.php ├── accountInfo.php ├── transactions.php └── pdfGen.php ├── login.php ├── README.md ├── auth ├── stategen.php └── callback.php ├── exportcsv.php ├── map.php └── index.php /assets/img/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesallison/mondoweb/HEAD/assets/img/bg.png -------------------------------------------------------------------------------- /assets/img/mondo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesallison/mondoweb/HEAD/assets/img/mondo.png -------------------------------------------------------------------------------- /assets/img/mondo-bw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jamesallison/mondoweb/HEAD/assets/img/mondo-bw.png -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/foot.php: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | <<<<<<< HEAD 2 | 3 | includes/api_creds.php 4 | 5 | includes/api_creds.php 6 | 7 | includes/api_creds.php 8 | ======= 9 | inc/settings.php 10 | >>>>>>> origin/master 11 | -------------------------------------------------------------------------------- /assets/css/global.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: 'Lato', sans-serif; 3 | } 4 | .logo { 5 | margin: 15px 0px 15px 0px; 6 | } 7 | .top-links { 8 | padding-top: 25px; 9 | } 10 | .brand-custom { 11 | padding: 10px !important; 12 | } 13 | .category { 14 | font-size: 1.3em; 15 | } -------------------------------------------------------------------------------- /inc/head.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /loadtoken.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/expenditure.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/freezeStatus.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/checkAccessToken.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/freeze.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /login.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 |This will take you to Mondo where you can login.
23 | 24 || 33 | | Amount | 34 |Retailer | 35 |Date | 36 |Balance | 37 |
|---|---|---|---|---|
| 70 | | $amount";?> | 71 |72 | '; 75 | $transaction_title = 'Top Up'; 76 | } 77 | else if(empty($transaction['merchant']['name'])) { 78 | $transaction_title = $transaction['description']; 79 | } 80 | else { 81 | $transaction_title = $transaction['merchant']['emoji'].' '.$transaction['merchant']['name']; 82 | } 83 | echo $transaction_title; 84 | ?> 85 | | 86 |87 | $amount";?>" data-transaction_date="" data-transaction_notes="" data-transaction_category="" data-transaction_declined="" style="color: #333;"> 88 | 91 | 92 | | 93 |94 | |
| 132 | Current Balance: 133 | | 134 |135 | 136 | | 137 |
| 140 | Spent Today: 141 | | 142 |143 | 144 | | 145 |
| 94 | Balance brought forward from format('Y-m-d').' first day of last month'); echo $lastmonth->format('F Y');?>: 95 | 98 | | 99 |100 | 101 | | 102 |
| 105 | Total Spent: 106 | | 107 |108 | 109 | | 110 |
| 113 | Total In: 114 | | 115 |116 | 117 | | 118 |
| 121 | End of month balance: 122 | 125 | | 126 |127 | 128 | | 129 |
| Date | 141 |Retailer | 142 |Money in | 143 |Money out | 144 |Balance | 145 |
|---|---|---|---|---|
| at '.date('g:ia', strtotime($transaction['created']));?> | 171 |172 | '.' '.$transaction['description']; 175 | } 176 | else if(empty($transaction['merchant']['name'])) { 177 | echo $transaction['description']; 178 | } 179 | else { 180 | echo $transaction['merchant']['emoji'].' '.$transaction['merchant']['name']; 181 | } 182 | ?> 183 | | 184 |$amount";}?> | 185 |".$amount.'';}?> | 186 |187 | |