Commit Graph

74 Commits

Author SHA1 Message Date
johnnyq 98aa7e4993 Remove url_query_strings_sort var as this functionality has been moved to the filter header that all listing pages share 2025-06-18 01:42:21 -04: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
wrongecho 10fafacefe Custom Roles & Permissions
Initial enforcement of custom roles & permissions - only on some pages via GET for now.
2024-09-20 17:59:49 +01:00
johnnyq 7b2566b654 Remove all reminense of Account Types next is deleting the DB Tables for account types 2024-09-17 13:59:58 -04:00
wrongecho c65db3431d Tidying 2024-09-14 23:43:54 +01:00
wrongecho 64684e1248 Enforce CSRF for post/asset and post/account
Tiny bit of tidying
2024-09-08 22:52:38 +01:00
Johnny dd644a39b8
Merge pull request #779 from o-psi/clean-requires-and-includes
Update constructs to not have parenthesis.
2023-10-20 16:32:29 -04:00
o-psi 53c11edc8c Update constructs to not have parenthesis. 2023-10-20 15:25:52 -05:00
johnnyq 8257fc3193 Updated Accounts Listing to use take adavantage of the new account_type_parent 2023-10-20 16:10:45 -04:00
Andrew Malsbury 7b772cf529 Something is broken with the confirm-link 2023-10-09 23:21:48 +00:00
Andrew Malsbury 8b6c909d95 Switched to DB controlled Account Types 2023-10-09 20:26:03 +00:00
Andrew Malsbury bc95bb4e15 Update Accounts screen to show type 2023-10-07 16:13:46 +00:00
johnnyq 54c1befed9 Added Confirmation to Delete and Archiving tasks, also fixed broken trips page 2023-09-05 19:02:52 -04:00
johnnyq a959f588f3 Updated hopefully everywhere for account so account_archived works properly also do not allow archiving of account if equals online payment account 2023-08-27 17:50:10 -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 ccf0d3ab77 Replace all instances of htmlentities() with the new function nullable_htmlentities() thanks @bhopkins0 2023-05-11 18:23:36 -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 95f190c89d More UI work and santitizeInput migrations 2023-02-20 22:02:39 -05:00
johnnyq 8a91ae0e46 More updating with new sanitize function and more logging and alerting cont 2023-02-16 22:26:38 -05:00
johnnyq 4708f6b117 Move accounts side nav back out of setting and back onto the main side nav under accounting 2023-02-16 17:00:23 -05: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 503b10d38c Tidy 2023-01-25 23:14:13 +00:00
Marcus Hill bd1ac7708c Adjust setting related pages to require inc_all_settings rather than include 2023-01-23 21:31:54 +00:00
Marcus Hill ad2390d0ea General tidy/spacing cleanups 2023-01-23 21:09:44 +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 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 e29fa92544 Moved accounts to settings page as its not accessed much and is a much better place for it, moved some settings menus around 2022-11-09 18:19:48 -05: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
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 a9fb11e3ef Fixed client details page as functions was declared twice 2021-12-23 10:58:16 -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 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
johnny@pittpc.com ebf14aee06 Added currency Code to account listing 2021-02-27 13:39:41 -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 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 b46881299d Phase 2 - Non Destructive Deletion - Removed Delete and replaced with Archive on certain entities, post and buttons done Pending Listing 2021-02-06 17:18:02 -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 7b28678110 Added more dividers on action menus to sectionize, removed some unnessesary html5 code 2021-01-20 18:40:33 -05:00