Skip to content

India Ticket (Deposit USD)

Setup

  • India ticket come from whatsapp as an incoming message on specific chat.
  • To enable creation of india tickets in sepcific chat, just enable can create india transfer option in chat settings.

alt text

Creation

  • Come from whatsapp as an incoming message.
  • The incomming message considered as india_ticket if it's containing the highlighted line.
@ Vision : Recieved, Please Apply Below  Bank Deposit

Account - Sido Diko/ 5214452

Deposit : $ 941 / INR 80,000

Entity : Jordan

Payment Type : VIP Bank (Standard)
  • It contains those information:

    • Name: Sido Diko
    • Account Number: 5214452
    • Amount: 941
    • Local Currency Amount: 80,000
    • Entity: jordan
    • Payment Type: vip

Validation

This message subject to couple of checks:

  • Missed value check: Fails if one of those attributes missed (entity, account number, name, amount, local currency amount, payment type).
  • Duplication check: Fails if one of those attributes duplicated (entity, account number, name, amount, local currency amount, payment type).
  • Invalid entity check: Fails if the entity value not one of the operating unit shortcuts.

Process

Approve

After pass all checks, the ticket will be routed to specific employees to process it based on routing system.

alt text{: style="width:300px"}

Four things to mention here:

  1. The ticket has not RF yet.
  2. Fields like (name, account number, rate) can be edited.
  3. Confirm the field value at the end.
  4. After confirm all editable fields a new button will appear say "Approve & Send", click it to approve the ticket.

When approve the ticket, the approve handler specified for this type of tickets (india_ticket) will run.

Approve handler of india_ticket contain these steps:

  1. Send ticket to odoo and get an RF.
  2. Reply on the original hash message with the RF.
  3. Redirect it to custom chats with custom template based on routing system.

Apply

The ticket can be applied from the ticketing page by the employee.

alt text{: style="width:300px"}

Or by reply on the RF message with the word applied

alt text{: style="width:400px"}

Or by reply on the original message with the word applied

alt text{: style="width:400px"}

Direct Execution

  • You can setup specific chat to execute india tickets directly (auto approve & apply) by enable is direct india execution enabled option in chat settings.

alt text