0000000000000000000000000000000000000000 32f746308aa8d19489b52fcf7709d108877efc18 Riya Bhatti <riabhatti@eighttechprojects.com> 1768459563 +0530	commit (initial): Backup before multi-company implementation - pre-multicompany-v1
32f746308aa8d19489b52fcf7709d108877efc18 98248cbbcd739ecbc844551fee0dec7f54e90f45 Riya Bhatti <riabhatti@eighttechprojects.com> 1768460362 +0530	commit: Added detailed rollback instructions to multi-company database design document
98248cbbcd739ecbc844551fee0dec7f54e90f45 dfe584c268742dc23886f16b9cecbf06c3148a8f Riya Bhatti <riabhatti@eighttechprojects.com> 1768461122 +0530	commit: Implement multi-company multi-role system with permission checks and Company Document Heads management
dfe584c268742dc23886f16b9cecbf06c3148a8f af33ecd38948ec287c8cb8daf767f10550290c01 Riya Bhatti <riabhatti@eighttechprojects.com> 1768464163 +0530	commit: Fix Company Doc Heads: Use modal for company selection like other masters, fix page layout
af33ecd38948ec287c8cb8daf767f10550290c01 9d992ba7174588dfdd21a89b4ae9e72ce88f0227 Riya Bhatti <riabhatti@eighttechprojects.com> 1768465015 +0530	commit: Fix Company Doc Heads menu click handler using onclick instead of jQuery
9d992ba7174588dfdd21a89b4ae9e72ce88f0227 09a1977022fae60ba50b5c0fb362d0e39f762ddb Riya Bhatti <riabhatti@eighttechprojects.com> 1768466061 +0530	commit: Fix session variable name (id vs user_id) and add backward compatibility for existing users
09a1977022fae60ba50b5c0fb362d0e39f762ddb 8a832c2693abcdd113b4b342fa4f127984c74ec4 Riya Bhatti <riabhatti@eighttechprojects.com> 1768466441 +0530	commit: Add address and country fields to company table and forms
8a832c2693abcdd113b4b342fa4f127984c74ec4 52e9be2e0a715043283d96d1d1c0fdcb7a786e94 Riya Bhatti <riabhatti@eighttechprojects.com> 1768466773 +0530	commit: Add notification badge for pending Company Doc Heads
52e9be2e0a715043283d96d1d1c0fdcb7a786e94 a946118e0bc8621b671c105a759585edc0041660 Riya Bhatti <riabhatti@eighttechprojects.com> 1768467214 +0530	commit: Fix badge display - make inline with menu text
a946118e0bc8621b671c105a759585edc0041660 8ac88c315a8cc70c9bbc67c19085e38a8e97a598 Riya Bhatti <riabhatti@eighttechprojects.com> 1768467457 +0530	commit: Fix menu disappearing - add error handling to badge count
8ac88c315a8cc70c9bbc67c19085e38a8e97a598 835f294171f4c8d3944ea4cc4723aceeb09c4afa Riya Bhatti <riabhatti@eighttechprojects.com> 1768467745 +0530	commit: Fix Company Doc Heads menu - remove link-text span to match other submenu items
835f294171f4c8d3944ea4cc4723aceeb09c4afa a11e9aa72cafdef1296574de77aef0ab57a0bf76 Riya Bhatti <riabhatti@eighttechprojects.com> 1768470089 +0530	commit: Filter Document Head and Upload by company-enabled items
a11e9aa72cafdef1296574de77aef0ab57a0bf76 85e237e1340389a4a2fde7ba6d2d4ef9deb9477e Riya Bhatti <riabhatti@eighttechprojects.com> 1768470207 +0530	commit: Filter Dashboard by company-enabled document heads
85e237e1340389a4a2fde7ba6d2d4ef9deb9477e 591444874501fad7164f8c343321fc234b8a6d58 Riya Bhatti <riabhatti@eighttechprojects.com> 1768470291 +0530	commit: Filter View Documents dropdown by company-enabled document heads
591444874501fad7164f8c343321fc234b8a6d58 42ca81a34e8217e018a8d1a496b22eef6bfee364 Riya Bhatti <riabhatti@eighttechprojects.com> 1768471306 +0530	commit: Use company-specific custom_start_date throughout application (COALESCE with master date)
42ca81a34e8217e018a8d1a496b22eef6bfee364 d6264ed7d9eed89dd5c71d54f8ad47fa08192f66 Riya Bhatti <riabhatti@eighttechprojects.com> 1768472991 +0530	commit: Fix Next Due date calculation - dynamic based on frequency, custom_start_date and fiscal year
d6264ed7d9eed89dd5c71d54f8ad47fa08192f66 17ceb78a48b7547d35f1eae78914ed5356f841ea Riya Bhatti <riabhatti@eighttechprojects.com> 1768473617 +0530	commit: Fix Next Due date - use year from custom_start_date instead of current year
17ceb78a48b7547d35f1eae78914ed5356f841ea bd5f09f845d7f4f88cb8de3cb3562bd5b785ed9a Riya Bhatti <riabhatti@eighttechprojects.com> 1768474209 +0530	commit: Add authority selection to user forms for role-based access control
bd5f09f845d7f4f88cb8de3cb3562bd5b785ed9a 7f8aaf38886d8b5efc18fbd4e5c27c3ad637cfa1 Riya Bhatti <riabhatti@eighttechprojects.com> 1768474654 +0530	commit: Fix PostgreSQL boolean syntax - use TRUE instead of true
7f8aaf38886d8b5efc18fbd4e5c27c3ad637cfa1 79e046fbcd06ab1d16b260ef6461e4429c6326ad Riya Bhatti <riabhatti@eighttechprojects.com> 1768479444 +0530	commit: Filter authorities by company-enabled in upload and view documents pages
79e046fbcd06ab1d16b260ef6461e4429c6326ad fa28c47216c5d07b5ba10da737ed64d89b044f26 Riya Bhatti <riabhatti@eighttechprojects.com> 1768479705 +0530	commit: Fix: Use raw SQL queries to avoid CodeIgniter quoting boolean values
fa28c47216c5d07b5ba10da737ed64d89b044f26 eb53bd10e607fcbf95cb3f684a62f292647d7880 Riya Bhatti <riabhatti@eighttechprojects.com> 1768482931 +0530	commit: Add duplicate name check ignoring special chars for all masters (Authority, Document, Document Head, Company)
eb53bd10e607fcbf95cb3f684a62f292647d7880 70fade1a7cf01c13a1db72c6c426845a70832538 Riya Bhatti <riabhatti@eighttechprojects.com> 1768488435 +0530	commit: Filter authorities by company-enabled in Document Head add/edit pages
70fade1a7cf01c13a1db72c6c426845a70832538 b9d464401b9aaa05753ccd8bc14ab4146e37f393 Riya Bhatti <riabhatti@eighttechprojects.com> 1768490255 +0530	commit: Add company status column to Authority, Document, and Document Head lists - shows Enabled/Not Activated/Not Added badges
b9d464401b9aaa05753ccd8bc14ab4146e37f393 1d29309e2b26cdfe9dc15a31f035f491ecece44f Riya Bhatti <riabhatti@eighttechprojects.com> 1768497559 +0530	commit: Fix: Accept company_id from URL in Authority and Document controllers to update session immediately
1d29309e2b26cdfe9dc15a31f035f491ecece44f 9e447117112cd04a7834aea6c281db8d9b1ccfb1 Riya Bhatti <riabhatti@eighttechprojects.com> 1768498569 +0530	commit: Fix: Accept company_id from URL in Document Head (type) controller
9e447117112cd04a7834aea6c281db8d9b1ccfb1 eccbc1e6f32e5466e9e10cd149dd58a3b2da154b Riya Bhatti <riabhatti@eighttechprojects.com> 1768498906 +0530	commit: Revert Document Head list to show only enabled items, fix company_id URL parameter
eccbc1e6f32e5466e9e10cd149dd58a3b2da154b deb1e35aa6715fc8330439db8a065dc1c0ac6caa Riya Bhatti <riabhatti@eighttechprojects.com> 1768499836 +0530	commit: Fix Action column width in Authority, Document Head, and Document tables
deb1e35aa6715fc8330439db8a065dc1c0ac6caa 68bade8d79521bc4cca728c51472ef291fa0bda4 Riya Bhatti <riabhatti@eighttechprojects.com> 1768500156 +0530	commit: Remove company status banner from Authority and Document pages
68bade8d79521bc4cca728c51472ef291fa0bda4 c58e4b8336a8553b7758ebc52616a85474325ecb Riya Bhatti <riabhatti@eighttechprojects.com> 1768501335 +0530	commit: Update all master listing pages: consistent styling, Sr.No fix, pagination controls, column search
c58e4b8336a8553b7758ebc52616a85474325ecb 61e2a12ace8e52c0d6fddc245fb0f096fa3f7eeb Riya Bhatti <riabhatti@eighttechprojects.com> 1768501973 +0530	commit: Company Doc Heads: info icon shows company name and start date only
61e2a12ace8e52c0d6fddc245fb0f096fa3f7eeb 5331a8f5f70e133c7d101b7db5a0b3bf15f7d01c Riya Bhatti <riabhatti@eighttechprojects.com> 1768502098 +0530	commit: Company Doc Heads: add rounded corners to table header
5331a8f5f70e133c7d101b7db5a0b3bf15f7d01c 8640aaba569b9d762accebd48e9878afef758b19 Riya Bhatti <riabhatti@eighttechprojects.com> 1768633433 +0530	commit: Add product pricing guide and sales preparation documentation
8640aaba569b9d762accebd48e9878afef758b19 46ebe0f013e0131091408aa78a1a28ba9564c5b8 Riya Bhatti <riabhatti@eighttechprojects.com> 1768639450 +0530	commit: Fix Company Doc Heads edit: show template values for due day, due in same/next month, reminders, and mandatory docs
46ebe0f013e0131091408aa78a1a28ba9564c5b8 c613d728d710a2e2ff1ad02693d6155825c15de9 Riya Bhatti <riabhatti@eighttechprojects.com> 1768639611 +0530	commit: Fix reminder query: handle boolean type columns properly
c613d728d710a2e2ff1ad02693d6155825c15de9 e5bbe2707d8662252f84c9e27fde9a48943b19de Riya Bhatti <riabhatti@eighttechprojects.com> 1768639772 +0530	commit: Fix Due Day and Due in Same/Next Month to properly fallback to template values
e5bbe2707d8662252f84c9e27fde9a48943b19de 152f2679e19e415ea40c5b5c40e245e05b7bd621 Riya Bhatti <riabhatti@eighttechprojects.com> 1768640015 +0530	commit: Company Doc Heads edit: make custom settings inline to save space
152f2679e19e415ea40c5b5c40e245e05b7bd621 d557e04bffeda30fae99359367cc31d8780f582f Riya Bhatti <riabhatti@eighttechprojects.com> 1768640462 +0530	commit: Document Head: Add View button for heads with uploads, allow edit only for heads without uploads
d557e04bffeda30fae99359367cc31d8780f582f 7dbd3235b13cbdf022de3561887dd6036edb93b5 Riya Bhatti <riabhatti@eighttechprojects.com> 1768641172 +0530	commit: Document Head edit: Add reminders section with existing data pre-populated
7dbd3235b13cbdf022de3561887dd6036edb93b5 56d96d07fe860ba5b75dd8f9fc2f70e952ad9a9c Riya Bhatti <riabhatti@eighttechprojects.com> 1768641589 +0530	commit: Fix editType: authority auto-populate, preserve company_id on update, fix company query
56d96d07fe860ba5b75dd8f9fc2f70e952ad9a9c b6603193a8f2a03e3b3f48675e5b7a197181412d Riya Bhatti <riabhatti@eighttechprojects.com> 1768641810 +0530	commit: Edit type: Add default system reminders (Same day, Day passed) same as create page
b6603193a8f2a03e3b3f48675e5b7a197181412d bab45bf88a8c8dc5d332ecde2064b01f13a0a9c9 Riya Bhatti <riabhatti@eighttechprojects.com> 1768642250 +0530	commit: Fix type edit/view: redirect to company list if no company, preserve company_id in all URLs and redirects
bab45bf88a8c8dc5d332ecde2064b01f13a0a9c9 5d2193abb0cd11bb08599037a99bd6df5e80ce41 Riya Bhatti <riabhatti@eighttechprojects.com> 1768642538 +0530	commit: Fix: Add company validation - redirect to company list if company_id is invalid/not found
5d2193abb0cd11bb08599037a99bd6df5e80ce41 169b15f22b425e5eb40ecdf29a426509609c2e7c Riya Bhatti <riabhatti@eighttechprojects.com> 1768642907 +0530	commit: Remove incorrect company validation from allType, editType, viewType
169b15f22b425e5eb40ecdf29a426509609c2e7c 978c9f2c08fee2b301d80166821ab6a3a8f3fc57 Riya Bhatti <riabhatti@eighttechprojects.com> 1768643344 +0530	commit: Fix: Header now reads company_id from session first, fix all redirects to include company_id
978c9f2c08fee2b301d80166821ab6a3a8f3fc57 1cd2742340d6de5574b23ffd5f8910fedc93aed7 Riya Bhatti <riabhatti@eighttechprojects.com> 1768735154 +0530	commit: Fix: Header now reads company_id from session first, fix all redirects to include company_id for authority, document head and re-order documents
1cd2742340d6de5574b23ffd5f8910fedc93aed7 7c6289c65141d0bb67914d50fea746fee5383031 Riya Bhatti <riabhatti@eighttechprojects.com> 1768821966 +0530	commit: Auto-copy masters to company-specific tables: Authority, Document, Document Head - enabled only for creating company
7c6289c65141d0bb67914d50fea746fee5383031 fc9cd9d610b97dad343d51b49dce5e8be1cd4ff8 Riya Bhatti <riabhatti@eighttechprojects.com> 1768995484 +0530	commit: Dashboard: Use company-specific custom_frequency_start_date and custom_due_in_same_next_month from company_document_heads
fc9cd9d610b97dad343d51b49dce5e8be1cd4ff8 9a2ed43a1f639ab94f3cceff80271a4ba29c4c64 Riya Bhatti <riabhatti@eighttechprojects.com> 1768995978 +0530	commit: Fix: Add missing company_document_heads JOIN in getFavourites function
9a2ed43a1f639ab94f3cceff80271a4ba29c4c64 433e6a1de3a9a17837d9fb23ac9ce73d985a4fb4 Riya Bhatti <riabhatti@eighttechprojects.com> 1768996111 +0530	commit: Fix: COALESCE type mismatch - cast due_in_same_next_month to text for PostgreSQL compatibility
433e6a1de3a9a17837d9fb23ac9ce73d985a4fb4 412c2ec33fee27a2fff991eda49350d838b01007 Riya Bhatti <riabhatti@eighttechprojects.com> 1768997344 +0530	commit: Fix: Handle empty strings in COALESCE for company-specific settings (due_in_same_next_month, frequency_start_date, start_date)
412c2ec33fee27a2fff991eda49350d838b01007 1ef0dbf7f7c600d85341614c3f383a53fd4000b5 Riya Bhatti <riabhatti@eighttechprojects.com> 1768997959 +0530	commit: Fix: Apply NULLIF to both company and master values in COALESCE to handle empty strings properly
1ef0dbf7f7c600d85341614c3f383a53fd4000b5 ed2a63642f84fd22800b6c56fc69b88209c79746 Riya Bhatti <riabhatti@eighttechprojects.com> 1768998180 +0530	commit: Fix: Cast DATE columns to TEXT before NULLIF comparison to avoid PostgreSQL type mismatch errors
ed2a63642f84fd22800b6c56fc69b88209c79746 3f1b636667247dfd8d93b9a50bafa9ebea64f83c Riya Bhatti <riabhatti@eighttechprojects.com> 1768998685 +0530	commit: Fix: Correct Period and Due Date calculation in Overdue, Pending, Upcoming tabs - use due_in_same_next_month properly
3f1b636667247dfd8d93b9a50bafa9ebea64f83c 9b72914e5564d19b7128b9bc7e078dbb532ea6f4 Riya Bhatti <riabhatti@eighttechprojects.com> 1769017171 +0530	commit: Feature: Show View button instead of Edit for document heads with uploads - fields become read-only
9b72914e5564d19b7128b9bc7e078dbb532ea6f4 fe5af6c0004f4cf6688a4ef92f001cada9147969 Riya Bhatti <riabhatti@eighttechprojects.com> 1769166202 +0530	commit: Feature: Multiple enhancements and fixes
fe5af6c0004f4cf6688a4ef92f001cada9147969 c1847552bee612afb55fbcab96fade100704a26f Riya Bhatti <riabhatti@eighttechprojects.com> 1769192605 +0530	commit: Feature: Multiple fixes and enhancements
c1847552bee612afb55fbcab96fade100704a26f 4bd786f01fdf4a4c631380dd40d133c4eaf8ccbb Riya Bhatti <riabhatti@eighttechprojects.com> 1769260695 +0530	commit: Fix: Header now reads company_id from session first, fix all redirects to include company_id for authority, document head and re-order documents
4bd786f01fdf4a4c631380dd40d133c4eaf8ccbb 96b370718e8c63b985feec0dfc02d83717701154 Riya Bhatti <riabhatti@eighttechprojects.com> 1769803073 +0530	commit: Fix: Header now reads company_id from session first, fix all redirects to include company_id for authority, document head and re-order documents
