Commit Graph

67 Commits

Author SHA1 Message Date
johnnyq 6f0017d90b Dedup More Pagination code you now only have to define Sortby column and its order, also fixed issue when searching by date it would close on the first query 2023-02-24 20:22:57 -05:00
johnnyq f7552cd25a Finished up santizeInput Conv and UI updates 2023-02-23 16:09:37 -05:00
Marcus Hill 5bb4296f14 Adjust core files to 4 spaces 2023-02-12 14:40:10 +00:00
Marcus Hill 615f317d2b General cleanup/formatting 2023-02-09 12:29:12 +00:00
Marcus Hill f92dc108e2 Tidy
- Move some scripts to their own js files
- Move some duplicate code blocks to functions
- General tidy & spacing cleanups (#538)
2023-02-04 22:09:56 +00:00
Marcus Hill 2c3ebb3bbb Tidy codestyle - spaces between parenthesis and curly braces 2023-01-21 17:09:39 +00:00
Marcus Hill 5460825ece Replace stripslashes with strip_tags 2023-01-02 14:44:46 +00:00
johnnyq 2a16b6d2ae Remove some tags there and here some more output formatting all thanks to the great security researcher @indevi0us for pointing these out to us. 2022-12-21 21:31:51 -05:00
Marcus Hill 51792a1a2f Set a max date attribute for date input fields to prevent/discourage them going over 4 characters (client side validation) 2022-12-17 18:03:53 +00:00
johnnyq fe4c413643 Declare more floatvals 2022-12-05 23:10:34 -05:00
johnnyq b6e540825f Format output for the proper code syntax, this should fix many various issues with output formatting and page breakage 2022-12-02 19:58:21 -05:00
johnnyq b2c6b948c1 Rearranged Expense columns 2022-05-19 13:08:58 -04:00
johnnyq 344276ca33 Add more reverse sort orders 2022-04-14 19:46:59 -04:00
Marcus Hill b4f2fdd03d Code deduplication/tidying
- Move default pagination/sort/search query variable mapping to pagination_head.php
- Remove user_logs.php
2022-04-14 19:49:18 +01:00
Marcus Hill ca629801af Change all "AND" / "OR" to && / || 2022-04-14 18:40:51 +01:00
johnnyq 1829c7299e Made the php includes much more modular and simpler by lumping them all in 1 file inc_all.php instead of all over the place 2022-02-22 00:29:39 -05:00
johnnyq a9346845ab Refactored Currency Display using PHP numfmt_format_currency() function as this is best practice and will put the right currency symbol in the right place based off locale and currency type 2022-02-17 22:20:59 -05:00
johnnyq 278b243e7c Finished File Entity Renaming process 2022-02-05 13:24:57 -05:00
johnnyq ee8739c763 Added Custom Export Modal to trips 2022-01-22 18:08:21 -05:00
johnnyq a3c63b0649 Added Export Expenses Records with custom from and to Date, Fixed Advanced Search under expenses some other minor code formatting fixups 2022-01-22 14:37:45 -05:00
johnnyq 48dbb3ec4c More Define canned date if not set. Prevents undefined errors Same as a48e302 2022-01-13 14:07:51 -05:00
johnnyq 78f1e75eda Fix #216 Updated Currency codes everywhere not just in a few places 2021-12-14 13:00:24 -05:00
johnnyq faf39fc84a Code cleanup and fix possible injections when a trusted user is logged in thanks to mwdmeyer, constant_chaos, disclosure5 and rightwayround from /r/msp for pointing these issues out 2021-12-12 13:16:26 -05:00
johnnyq 0976a08730 Removed default currency and default country under settings added a company currency to the company table. Now currency default and country default uses company country and currency, updated the currency symbol to use companies currency under dashboard, expenses, profit loss reports 2021-11-19 20:45:57 -05:00
johnnyq cdae4ecfb6 Set Currency Symbols to Company's Default Currentcy Setting 2021-11-19 20:04:03 -05:00
johnnyq 3ca92cd252 Added Truncated Description to Expense listing #203 2021-11-18 17:56:02 -05:00
johnnyq 5edde5a7f5 Added Expense ID at the end of expense receipt downloads 2021-09-22 18:34:16 -04:00
johnnyq a939588cf2 New File upload logic complete Breaking changes New db dump 2021-09-21 22:22:55 -04:00
johnnyq f3053ffbd4 BREAKING CHANGES: Major Backend Code Changes Updated Foreign keys to prepend their table names ex invoice_client_id, switched most queries over to JOIN instead of = Combined contacts and location into client removed client email, phone etc fields, tons of small bug fixes, and other small UI changes all across the board 2021-08-27 23:14:06 -04:00
johnnyq ffc6ce00ca Deletes and Archivs are now red text 2021-08-11 17:45:11 -04:00
johnnyq 012c77d81e Fixed Canned Dates issue where seach queries would not work 2021-08-11 12:49:20 -04:00
johnnyq 35c5fa1e5e Added Canned Dates to the rest of listings 2021-08-10 22:21:53 -04:00
johnny@pittpc.com 66f9e2b10f Removed Records per page as a setting and added it as session variable define at 10 by default when logged in DB Structure Updated 2021-02-10 13:40:28 -05:00
johnny@pittpc.com 530d46a812 Added selectable num of records on each listing page, fixed up Pagination Records UI, added new stripe library, further worked on stripe integration, fixed mispelling in client details 2021-02-10 11:21:38 -05:00
johnny@pittpc.com 274e1dc9e8 Hide Archived dropdowns when adding adding a new item, except when you are editing an item from before the archived date, Do not allow archiving account until balance is 0. 2021-02-07 13:58:42 -05:00
johnny@pittpc.com d2b37a8940 Added new category buttons to certian dropdowns to quickly add a category without going to setting then category also a few fixes here and there 2021-02-06 15:03:11 -05:00
johnny@pittpc.com 1ede4bc795 Shrunk the card header down to a more reasonable size which made a big difference the card header are not so over bearing 2021-02-06 02:35:58 -05:00
johnny@pittpc.com 71d5ce1c10 Updated UI on setup, fixed logo upload with add copany, better wording during setup 2021-02-05 14:17:18 -05:00
johnny@pittpc.com f9899d89ea Bunch of little fixes to to UI empty vars php errors removed a buch of tags etc. Converted client trip modals with global trip modals 2021-02-03 22:42:03 -05:00
johnny@pittpc.com 7b28678110 Added more dividers on action menus to sectionize, removed some unnessesary html5 code 2021-01-20 18:40:33 -05:00
johnny@pittpc.com d09e348ded Removed monospace fonts from code 2021-01-20 13:26:20 -05:00
johnny@pittpc.com 7b4618c16f Number of Records per page is now configurable 2021-01-15 19:51:40 -05:00
johnny@pittpc.com e8b13c6058 Added AES Encryption to client Logins Password Fields, updated DB modified field login_password from VARCHAR to VARBINARY to store password as encrypted, added additonal field to settings called config_aes_key the key is used to decrypt client login passwords, removed invoice, vendor, locaiton linkage in trips, other small cleanups fixups and UI updates, NOTE this will break existing install due to the db being updated 2020-01-04 19:52:41 -05:00
johnny@pittpc.com a28d1d6e57 Added Adavnced Filter to customers and expenses, removed some text-mono, ui updates to ticket details, added quick links to reports under dashboard 2019-12-04 20:58:16 -05:00
johnny@pittpc.com dfb963da32 started adding date_from date_to filters to tables, and linking them with reports and dashboard, added reference to payments listing 2019-11-20 18:18:48 -05:00
johnny@pittpc.com e2b97afa20 Added Linking client to calendar events, added email event to add event, and many other small small fixes 2019-09-17 13:54:46 -04:00
johnny@pittpc.com 7f3cdd975f Added a no records placeholder to all tables 2019-09-01 21:49:13 -04:00
johnny@pittpc.com 9050f4b03a More Security fixes escaping search and sortby GET vars 2019-08-31 15:38:16 -04:00
johnny@pittpc.com 01f820b394 Added further refinements to multi-company feature 2019-08-14 13:28:25 -04:00
johnny@pittpc.com dfebcaedfe Made first field in record listings clickable to edit modal 2019-07-30 15:14:51 -04:00