National-Forestry-Authority / farmers

0 stars 1 forks source link

Add Regularistion checkbox/option to Offer/License #155

Open peacog opened 1 year ago

peacog commented 1 year ago

Add a new on/off option named Regularisation to the Offer/License content type. This is intended to enable us to enter farmers that have planted trees without authority from NFA and don't have an offer date.

This is also intended to have all farmers entered into the system, whether or not they have authority from NFA, and include them in the Farmers' register report #154

peacog commented 1 year ago

Hi @Rashids2021 I've added the Regularisation option to Offer/license. It's ready to test in the staging environment.

Image

peacog commented 1 year ago

How to test

Image

Rashids2021 commented 1 year ago

I have checked and it saves the regularization option. However, I noticed that the offer date is still displayed.

Regards,

SSEKITTO RASHID

Land Management Officer, National Forestry Authority

Address: Plot 10/20, spring road, P. O. Box, 70863, Kampala

Email: @. | @. | @.***

Tel: +256 776 733 377 | +256 703 033535 | +256 712 733 377

On Mon, Jun 5, 2023 at 5:56 PM peacog @.***> wrote:

How to test

  • Add or edit an Offer / License
  • Verify that you can set and save the Regularisation option

[image: Image] https://user-images.githubusercontent.com/1312689/243391002-4c40740f-c140-425e-b7db-b525bd355222.png

— Reply to this email directly, view it on GitHub https://github.com/National-Forestry-Authority/farmers/issues/155#issuecomment-1576957583, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASWE4J5MTC6HSOFI5E7DYFTXJXXRVANCNFSM6AAAAAAXNRIRYE . You are receiving this because you were mentioned.Message ID: @.***>

peacog commented 1 year ago

Thanks @Rashids2021 I didn't make the connection between the regularization and the offer date field.

Just to confirm, when Regularization is switched on the Offer date field should not be visible, correct? Should any other fields be hidden, like for example the Licensed Issued field?

Rashids2021 commented 1 year ago

Dear Miriam,

Yes, it should not appear, including "License Issued" and "Block Number ".

Regards,

SSEKITTO RASHID

Land Management Officer, National Forestry Authority

Address: Plot 10/20, spring road, P. O. Box, 70863, Kampala

Email: @. | @. | @.***

Tel: +256 776 733 377 | +256 703 033535 | +256 712 733 377

On Tue, Jun 6, 2023 at 12:46 PM peacog @.***> wrote:

Thanks @Rashids2021 https://github.com/Rashids2021 I didn't make the connection between the regularization and the offer date field.

Just to confirm, when Regularization is switched on the Offer date field should not be visible, correct? Should any other fields be hidden, like for example the Licensed Issued field?

— Reply to this email directly, view it on GitHub https://github.com/National-Forestry-Authority/farmers/issues/155#issuecomment-1578311131, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASWE4JYLBYF7FD574RA6GPLXJ34BFANCNFSM6AAAAAAXNRIRYE . You are receiving this because you were mentioned.Message ID: @.***>

peacog commented 1 year ago

Hi @Rashids2021 . I made the changes related to the Regularisation field. When you select Regularisation the fields related to licenses are hidden. This is ready to test on the staging server: https://farmers.stg.envs.utils.nfa.go.ug/ Please test it when you have a chance. Thank you!

Rashids2021 commented 1 year ago

@peacog I have checked and it works Fine. We can use it as it is.

@Rashids2021

peacog commented 1 year ago

Deployed to production