Commit Graph

103 Commits

Author SHA1 Message Date
johnnyq 37fb696e63 Replace the remaining php files with nullable_htmlentites() 2023-05-11 18:27:48 -04:00
johnnyq 48fe49cf77 BREAKING CHANGES - MAKE FULL BACKUP BEFORE PROCEEDING - Requires Manual Intervention on files see Forum Post Make sure you run the Database update directly after update. This Removes Multi-Company Functionality. Fixes issues with Reponsive tables and bunch of other UI and small Fixes 2023-03-11 16:16:46 -05:00
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
johnnyq 2d4a90f36b UI reworking and updates adding icons etc 2023-02-17 18:00:05 -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 b36719eb99 General cleanup/tidying 2023-02-09 11:32:40 +00:00
Marcus Hill cb3430e4b4 Tidy - fix merge conflicts 2023-02-05 08:13:44 +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
johnnyq 100c28f024 wording update invoice list 2022-12-17 14:20:21 -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 86467bc9c9 Fix Regression issues with invoice quote amounts 2022-12-05 21:54:09 -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 d7090d3286 Reworked Client Section URL routing to be standard with standard URL routing of ITFlow. It was just too confusing to mix to different URL routing operations 2022-09-18 14:00:31 -04:00
johnnyq 1c7bd35ad4 Invoice is now searchable by amount 2022-04-29 18:44:17 -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 9040fdf847 Misc small changes/fixes 2022-03-27 22:26:22 +01:00
Marcus Hill 816ba87485 SQL Injection / XSS fixes 2022-03-27 20:02:16 +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 d1b3fec753 Removed unused client_email var under invoices and client_invoices 2022-02-13 15:11:15 -05:00
johnnyq 278b243e7c Finished File Entity Renaming process 2022-02-05 13:24:57 -05:00
johnnyq e10bd46295 check to see if var is set to prevent undecaled php var errors 2022-01-21 17:25:26 -05:00
johnnyq d6916c8d4b Fixed Searching within status condition under invoices 2022-01-21 17:21:15 -05:00
johnnyq 6ae65ef257 Fix Invoice Draft Click status would not work 2022-01-21 17:18:27 -05:00
johnnyq 4891b1bc69 Fixed it so invoice listing shows currency of that invoice, also replicated to quotes and recurring 2022-01-18 10:24:20 -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 8e8b28df40 Fixed Querying wihtin Invoice status 2022-01-06 11:21:10 -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 e036bbf7cb Added Monthly and Yearly Recurring Invoice Amount Totals to the dashboard 2021-11-17 13:02:09 -05: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 d7101cb5d6 Hide Email Receipt, Email Invoice Email Quote if smtp_host is not configured and client email doesnt exist 2021-08-19 13:24:38 -04:00
johnnyq bf69d02cba Added - filler to blank fields in all data listing, some other fixups of required fields etc 2021-08-19 01:48:19 -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 234442e458 Moved pdfmake js directly into invoice and quote to avoid the multiple windows and multi queries 2021-02-15 22:52:49 -05:00
johnny@pittpc.com 6f46f2ec87 More Currency Code Updates, would like to do conversions and add currency icons at a later date also set default country so it doesnt have to be selected each time 2021-02-14 18:06:32 -05:00
johnny@pittpc.com e71b851dd7 Reworded PDF to just Download added balance on PDF Invoice 2021-02-12 15:03:17 -05:00
johnny@pittpc.com a3590c215a Some minor changes with invoice quote open PDF in seperate window or tab instead of current window 2021-02-12 14:06:17 -05: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 88f056b9bd Allow searching by Invoice Quote Prefix and number ex inv-1 2021-02-08 17:28:50 -05:00
johnny@pittpc.com 7d9352c63d Added Invoice and Quote Prefix field to fix sorting issues 2021-02-08 16:57:29 -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