LesFruitsDefendus / saskatoon-ng

The new generation Saskatoon harverst management system
GNU Affero General Public License v3.0
10 stars 24 forks source link

feat: organization details/lists pages #416

Open oxgr opened 1 month ago

oxgr commented 1 month ago

Add a details page for an Organization, following the same pattern as Property.

The page is currently only accessible via the Beneficiary list page by clicking on the name of the organization.

Note: There is currently a bug where the equipment data-table at the bottom of the details page does not render some table elements. The code closely mirrors that of the harvest table in the property details page. @2ynn and I tried to troubleshoot, but no cause could be found.

Partially fixes #415


Type of change:


What's Changed:


Screenshots:

20241101_00h55m59s_grim


Affected URLs:

127.0.0.1:8000/beneficiary/ 127.0.0.1:8000/beneficiary/<int:pk>


Checklist:

2ynn commented 3 weeks ago

@oxgr for this PR specifically if you can provide some screenshots when it's ready i think it'll ease the review process. Thanks!

oxgr commented 1 week ago

have some changes to list page filters otw, but working on them alongside the equipment point lists on another branch rebased here.

oxgr commented 1 week ago

@2ynn was going to do this in the next equipment point list page PR, but ended up moving the common Organization detail page into a separate viewset here so Equipment Point list page can point to a organization-detail url

this PR is now ready-ready!