Commit Graph

66 Commits

Author SHA1 Message Date
johnnyq 2fe8adcfca Simplified Client URL Handling in global client header logic 2025-02-19 15:58:43 -05:00
johnnyq f8e4163c2f Merged Client Trip and Global Trips along with exports into 1 managable file 2025-02-18 20:58:47 -05:00
johnnyq e02d45db3e More Migration to AJAX Modal 2025-02-17 16:44:29 -05:00
johnnyq 0cb3cdc26d Moved all modals into /modals and updated all require links 2025-01-12 13:55:31 -05:00
johnnyq 98f9083bcb Structure rework: Moved most php files that are included to /includes renamed pagination.php to filter_footer.php, updated all file to reference new filter_footer and includes 2025-01-11 14:47:32 -05:00
johnnyq 04f0905397 Added sort order visual cues to every listing 2024-09-20 20:00:21 -04:00
johnnyq a742c9596e Moved Exports into the the new drop downs to match consistency 2024-06-07 15:59:22 -04:00
johnnyq b47aba1d5a Feature: Submit form when drop down are selected everywhere 2024-03-23 17:31:42 -04:00
johnnyq f11ad402e9 Moved the rest of the Import / Export Buttons into the Create and some exports in the Advanced filter button 2023-11-13 20:24:57 -05:00
o-psi 53c11edc8c Update constructs to not have parenthesis. 2023-10-20 15:25:52 -05:00
johnnyq 61c9c0c8b9 Feature: Automatically calculate tickert to invoice based off time worked rounded up to the near 15 min mark multiplied by Client Rate, Changed all Price, cost fields to use text field with numeric patterns instead of number fields, set pricing to always display 2 decimal spots 2023-09-22 15:19:05 -04:00
johnnyq 54c1befed9 Added Confirmation to Delete and Archiving tasks, also fixed broken trips page 2023-09-05 19:02:52 -04:00
johnnyq 0898732ee7 Added more archiving capabilities across the board also dont show delete if folder is not empty, still need to add show archived data 2023-08-28 16:21:09 -04:00
johnnyq 709cec8d7e More Icon Updating and matching 2023-08-20 15:06:08 -04:00
johnnyq 1bacabc72b Prevent duplicate sort, order and page GET VARs in the URL when Clicking to Sort a field or Clicking a page number. We now unset the GET VAR arrays before recreating the URL GET Strings 2023-07-08 14:40:00 -04:00
johnnyq e7572c9e8f Rename vars sb to sort, o to order, p to page. This makes the code easier to understand and brings consistency 2023-07-08 12:34:28 -04:00
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 f2a45ce518 UI/sanitizeInput work on Trips 2023-02-19 21:37:24 -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 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
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 112efbc314 DB Update tip_user_id added to the trips tables. Updated Trips to include the driver. WIP limit users to the session_company 2022-02-26 11:16:33 -05: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 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 48dbb3ec4c More Define canned date if not set. Prevents undefined errors Same as a48e302 2022-01-13 14:07:51 -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 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 6f33e3379c Updated all Client Data Listings and added CSV Exports to Client Data 2021-08-21 16:37:40 -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 71a183993b Fix alert settings switch buttons not working 2021-02-06 19:42:45 -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 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 9d095611fb Renamed table field trip_starting_location to just trip_source added export trips as CSV in POST, new DB Dump 2021-02-02 19:11:05 -05:00
johnny@pittpc.com eb62dacc2a Fixed Roundtrip icon displaying even though a trip wasnt a round trip 2021-01-25 22:17:36 -05:00