• #IF(#InvoicedOn) {InvoicedOn}
    #InvoicedOn[datetime]
    #ELSIF(#PartlyInvoicedOn) {PartlyInvoicedOn}
    #PartlyInvoicedOn[datetime]
    #ELSE {NotYet} {InvoicedOn} #ENDIF
  • #IF(#PaidOn) {Paid}
    #PaidOn[datetime]
    #ELSIF(#PartlyPaidOn) {PartlyPaidOn}
    #PartlyPaidOn[datetime]
    #ELSE {NotYet} {Paid} #ENDIF
  • #IF(#ReturnedOn) {Returned}
    #ReturnedOn[datetime]
    #ELSIF(#DispatchedOn) {DispatchedOn}
    #DispatchedOn[datetime]
    #ELSIF(#PartlyDispatchedOn) {PartlyDispatchedOn}
    #PartlyDispatchedOn[datetime]
    #ELSE {NotYet} {DispatchedOn} #ENDIF
  • #IF(#ClosedOn) {ClosedOn}
    #ClosedOn[datetime]
    #ELSIF(#CancelledOn) {CancelledOn}
    #CancelledOn[datetime]
    #ELSE {NotYet} {ClosedOn} #ENDIF