invoice.tx 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <div class="post <: $style :>">
  2. :if ( !$post.addpost ) {
  3. : include "post_title.tx";
  4. : include "post_tags.tx";
  5. : if ( !$post.video_href && !$post.is_image && !$post.is_video && !$post.is_profile && $post.preview ) {
  6. <img src="<: $post.preview :>" class="responsive-img" />
  7. : }
  8. <div class="postData responsive-text" id="postData-<: $post.id :>">
  9. Invoice ID# <: $post.id :><br />
  10. Created: <span class="unixtimestamp"><: $post.created :></span><br />
  11. Due: <span class="unixtimestamp"><: $post.created + ($post.due_days * 86400 ) :></span><br />
  12. <hr />
  13. <span style="float:left;">
  14. Payee<br />
  15. <: $post.payee_entity.data | mark_raw :>
  16. </span>
  17. <span style="float: right;">
  18. Payor<br />
  19. <: $post.payor_entity.data | mark_raw :>
  20. </span>
  21. <hr />
  22. Payment Method:
  23. <: $post.payee_entity.payment_method :><br />
  24. Payment Details:
  25. <: $post.payee_entity.payment_details :><br />
  26. <hr />
  27. <ul>
  28. : for $post.data -> $poast {
  29. <li>
  30. <: render_it($poast) | mark_raw :>
  31. </li>
  32. : }
  33. </ul>
  34. Total: <: $post.total :>
  35. </div>
  36. : }
  37. : if ( $can_edit ) {
  38. <div class="postedit">
  39. : include "edit_head.tx";
  40. <form class="Submissions" action="/post/save" method="POST" enctype="multipart/form-data">
  41. Title *<br /><input required class="cooltext" type="text" name="title" placeholder="Iowa Man Destroys Moon" value="<: $post.title :>" />
  42. : include "visibility.tx";
  43. : include "acls.tx";
  44. : include "tags.tx";
  45. : include "aliases.tx";
  46. : include "invoice_tofrom.tx";
  47. <p>
  48. Add one 'line item' per page below.<br />
  49. The price will be tabulated for the total from a line beginning with 'Price:'.<br />
  50. All prices must be in the same denomination.
  51. </p>
  52. : include "form_multi.tx";
  53. </form>
  54. : include "edit_foot.tx";
  55. </div>
  56. : }
  57. </div>