Real document status in Jinja template

HI everyone…

how to echo the full status of document using jinja template ?
{{doc.docstatus}} will give only 0,1,2 but how to get Draft or submitted or canceled?

Any one?
@kolate_sambhaji @rmehta


{{ doc.docstatus }} gives you 0 for draft 1 for submitted 2 for cancel

if you want status like Draft, Submitted, Cancelled.

use {{ doc.status }}