:if ( !$post.addpost ) {
: include "post_title.tx"; : include "post_tags.tx";

<: $post.title :>

: if ( !$post.video_href && !$post.is_image && !$post.is_video && !$post.is_profile && $post.preview ) { : } : # An edit re-sends the invoice, so it is dated, and falls due, from the newest version. : my $sent = $post.modified // $post.created;
Invoice ID# <: $post.id :>
Created: <: $sent :>
Due: <: $sent + ($post.due_days * 86400 ) :>
Payee
<: $post.payee_entity.data | mark_raw :>
Payor
<: $post.payor_entity.data | mark_raw :>
Payment Method:
<: $post.payee_entity.payment_method :>
Payment Details:
<: $post.payee_entity.payment_details :>
: for $post.data -> $poast {
<: render_it($poast) | mark_raw :>
: }
Total: <: $post.total :>
: } : if ( $can_edit ) {
: include "edit_head.tx";
Title *
: include "preview.tx"; : include "visibility.tx"; : include "acls.tx"; : include "tags.tx"; : include "aliases.tx"; : include "invoice_tofrom.tx";

Add one 'line item' per page below.
The price will be tabulated for the total from a line beginning with 'Price:'.
All prices must be in the same denomination.

: include "form_multi.tx";
: include "edit_foot.tx";
: }