Search vehicle logic

 
 
The following would be the hierarchy of the information
  1. Photos - one image right now - but keep provision for multiple images - @Rahul Singh
  1. Owner Details
    1. Name
      1. Show first name and last name in the following format
        1. First name : First character , * for remaining characters , last character
        2. Last name First character , * for remaining characters , last character
    2. Ownership count
  1. Is this your vehicle ? - Yes . On clicking Yes, the box closes but the user can undo this in that instance
    1. As soon as the user clicks “Yes” the page reloads with appropriate text changes
    2. When the user clicks yes - add the vehicle for users’s my vehicle under the verification category “unverified”
    3. By default, assume the car does not belong to the user
    4. This section will not come if the user vehicle is in semi verified, unverified and verified state
    5. This section wont come if the vehicle has been added by some other user and is in verified/semi verified state
    6. Once user adds a vehicle from here, the vehicle will move for the user in unverified state and get added in my vehicles section
  1. Banner & Services
    1. Show banner & services only for the following vehicle class
    2.  
      L.M.V. (CAR)(LMV)
      Motor Car(L )
      Adapted Vehicle(4WIC)
      Motor Cab(LPV)
      Luxury Cab(LPV)
      Private Service Vehicle (Individual Use)(LMV)
      Maxi Cab(LMV)
      MOTOR CAR (LMV)
      L.M.V. (CAR) (LMV)
      MOTOR CAR (L)
      PRIVATE SERVICE VEHICLE (INDIVIDUAL USE) (LMV)
      ADAPTED VEHICLE (LMV)
      ADAPTED VEHICLE (4WIC)
      MAXI CAB (LMV)
      MOTOR CAB (LMV)
      MOTOR CAR (4WIC)
      NOT AVAILABLE (LMV)
      MOTOR CAB (L)
      PRIVATE SERVICE VEHICLE (LMV)
      Motor Car()
      Adapted Vehicle(LMV)
      MOTOR CAB / CAR TAXI
      MOTOR CAB
      Motor Cab(L )
      Maxi Cab
      Private Service Vehicle(LMV)
      L.M.V.(JEEP/GYPSY)(LMV)
      Motor Car(O )
      L.M.V.(JEEP/GYPSY)
      MOTOR CAR
      Motor Car(LMV)
      Banner and Action Card conditions
      Insurance
      Fastag
      Challan
      Banner
      Actions
      NA
      Challan
      Yes - Buy Fastag
      KYI, Challan
      NA
      Challan
      Yes - recharge fastag
      KYI, Challan
      NA
      Challan
      Yes - recharge fastag with strong CTA
      KYI, Challan
      NA
      Challan
      Yes - recharge fastag
      KYI, Challan
      Yes - expiring/expired
      Challan
      Yes - Strong CTA for renewing insurance
      Buy fastag, Challan
      Yes - expiring/expired
      Challan
      Yes - Strong CTA for renewing insurance
      Recharge fastag, challan
      Yes - expiring/expired
      Challan
      Yes - Strong CTA for renewing insurance
      Recharge fastag with focus on low balance, challan
      Yes - expiring/expired
      Challan
      Yes - Strong CTA for renewing insurance
      Recharge fastag, challan
      Yes - Not expiring
      Challan
      Yes - Buy Fastag
      KYI, Challan
      Yes - Not expiring
      Challan
      Recharge fastag
      KYI, Challan
      Yes - Not expiring
      Challan
      Yes - recharge fastag with strong CTA
      KYI, Challan
      Yes - Not expiring
      Challan
      Yes - recharge fastag
      KYI, Challan
       
      Insurance expiring/expired criteria : 20 days before insurance and 30 days after expiry Fastag low balance - Rs 99 The fastag balance will contain last updated date & time
       
      Vehicle info
    3. Reg date
    4. Fuel type
    5. Ex showroom price
    6. Insurance
    7. Show the available data
    8. If no data available then do no show this section
    9. PUCC
    10. Show the available data
    11. If no data available then do no show this section
    12. Car specifications
      Engine #, Chassis # - show only last 5 digits
       
      Car specs
      Features
      Did you find the information useful?(This comes after 1 scroll and appears from right to left)
    13. Yes
    14. No
      1. If the user presses No, the user will see the following options :
      2. Owner information is incorrect
        1. Add a small note - If you have brought/sold your car in the last 45 days, please wait for the owner info to get updated. We’ll send you an update
        2. Did you buy or sell this car recently(mandatory) : Yes , No
        3. What information is incorrect(mandatory) :
          1. Owner name (checkbox) - When user selects this the user sees a text box to enter the correct name
          2. Ownership count (checkbox) - When user selects this, the user sees a textbox to select the correct ownership count
        4. Date of selling/purchase(mandatory) : User selects the date of the transaction
        5. Submit button - user taps on submit button and the request gets recorded.
        6. If the transaction date is before 60 days from current date - then the vehicle gets added into the cron. We will hit the signzy/surepass API if
          1. current date - transaction date < 45 days, then hit the api on the 45th day
          2. current date - transaction date < 61 days, then hit the api on the 60th day
          3. has the data updated - owner name or ownership count
            1. If yes, then send a notification to the user that the details have been updated. Clicking on this notification will navigate the user to the searched vehicle page with the updated data. If the data was updated on the 45th day, then do not hit the api on the 60th day
            2. If no, and if the api was hit on the 45th day then keep it in queue for the 60th day
      3. Insurance info is incorrect - Do not show if insurance data is not available for the vehicle
      4. PUCC info is incorrect - Do not show if PUCC data is not available
      5. Fastag balance is incorrect
        1. Add a small note - Your Fastag balance was last updated on <date-time>
      6. Other issues
        1. When user selects other issues, show user a text box that is mandatory
    15. User will see submit button after selection of an option
    16.  
       
      Insurance
      Insurance status
      Show to user
      Expiring & renew now
      Navigate to Insurance
      Expired & renew now
      Navigate to Insurance
      Better quotes for next year
      Navigate to insurance
      Dont show anything
       
    17. Car specifications
    18. Car comparisons - popular comparisons with this car
    19. Engine #, Chassis # - show only last 5 digits
    20. Car specs
    21. Features
    22.  
      Did you find the information useful?
    23. Yes
    24. No
      1. Owner information is incorrect
        1. Add a small note - If you have brought/sold your car in the last 45 days, please wait for the owner info to get updated. We’ll send you an update
      2. Insurance info is incorrect
      3. PUCC info is incorrect
      4. Fastag balance is incorrect
      5. Other issues
        1. When user selects other issues, show user a text box that is mandatory
    25. User will see submit button after selection of an option
    26. When user presses back from this page - show a popup - Do you own this vehicle? : Yes, Cancel
      On pressing Yes, the user will navigate back and see a toast that vehicle added
      On cancel, the user will move back to previous screen
Built with Potion.so