Cubeseed / Backend

3 stars 8 forks source link

working on the invoice, waybills, receipts generation and sending APIs #81

Open Natiman58 opened 1 year ago

Natiman58 commented 1 year ago

Invoices/receipts/Waybills

Preconditions: John is on his workspace

Happenings: He wants to create and send one of these documents to the buyer

Scenario:

Basic Flow: He clicks on the add button This gives him 3 clickable options Send Invoice Generate waybill Generate receipts He clicks on Send Invoice and inputs all details Payment due date Notes for the buyer His signature Today’s date Then he either saves it as a draft for later or previews it After previewing it he either edits it or sends it He receives a ‘sent’ message that it’s done

Alternative Flow: If he wants to generate a waybill instead; He clicks on Generate Waybill and inputs all the details Delivery date He inputs information about the delivery guy First name Last name Vehicle name Vehicle Model Vehicle license number He inputs information about the Insurance The insurer’s name The policy number Delivery notes He adds his signature and Today’s date. Then he either saves it as a draft for later or previews it After previewing it he either edits it or sends it He receives a ‘sent’ message that it’s done

If he wants to generate a receipt instead; He clicks on Generate Receipts and inputs all the details

Postconditions: He is able to send the invoice or generate the receipts or generate the waybill