*3.1.1.3 Sell crop*

The farmer adds the information of the of the harvest which they need to sell, for example, crop name, amount and all out anticipated cost as shown in **Figure 8**. All these

**Figure 6.** *Data flow for uploading SWA values.*

*Organic Farming for Sustainable Agriculture Using Water and Soil Nutrients DOI: http://dx.doi.org/10.5772/intechopen.100319*

**Figure 7.**

*Data flow for view crop prediction and signing of agreement.*

details of crop information are stored in the database so that APMC admin can retrieve and view crop details from the database to place an order for purchasing the yield.

#### *3.1.1.4 Claim insurance*

This service is given to farmer who signed the agreement offered by the APMC shop. Here farmer has facility to claim insurance through the mobile app in case of loss of crop yield due to occurrence of any unavoidable climatic condition such as droughts, floods etc. (**Figure 9**).

#### *3.1.2 APMC admin module*

Following module description shows the services offered by developed mobile application to the APMC Admin.

#### *3.1.2.1 View and approve farmer details*

The APMC admin has facility to view the farmer details such as name, kisanId and contact number of farmers along with status either approved or pending. The newly registered farmers have the status pending indicating that the admin has not yet approved the registered farmer. After verifying all the farmer details then admin has facility to approve the farmer to give access permission for the farmer to the mobile phone. The **Figure 10** shows flow diagram for verifying and approve farmer details. Thus, prevents the unauthorized person accessing the mobile app.

**Figure 9.**

*Data flow for claiming insurance.*

**Figure 10.** *Data flow for view and approve farmer details.*
