<!--item--> and <!--/item-->
The item tags are used to repeat the code between the tags for each Debt/Credit in the Invoice. For example:
<!--item--><!--itemname--> : <!--itemamount--> <br><!--/item--> |
could return
Consulting : $45.00
Hotel : $69.95
Web Programming : $219.54 |
|
<!--DebtCategories--> and <!--/DebtCategories-->
These tags are used around the Item tags to sort by debt/credit categories. All of the code between these tags will be repeated for each category contained in the Invoice. For Example:
<hr><!--DebtCategories--><b><!--DebtCategoryName--></b> (<!--DebtCategoryTotal-->)<hr><!--Item--><!--ItemName--> : <!--ItemAmount--> <br><!--/Item--><hr><!--/DebtCategories--> |
could return
Hourly ($334.49)
Consulting : $45.00
Logo Design : $69.95
Web Programming : $219.54
Expenses ($295.99)
Hotel : $95.99
Prints : $200.00
|
|
<!--ByProject--> and <!--/ByProject-->
These tags are used around the Item tags to sort by Project. All of the code between these tags will be repeated for each Project contained in the Invoice. For Example:
<hr><!--ByProject--><b><!--ProjectName--></b><hr><!--Item--><!--ItemName--> : <!--ItemAmount--> <br><!--/Item--><br><b>Project Subtotal: <!--ProjectTotalForInvoice--></b><hr><!--/ByProject--> |
could return
Website
Consulting : $45.00
Logo Design : $69.95
Web Programming : $219.54
Project Subtotal: $334.49
Brochure
Photography : $95.99
Prints : $200.00
Project Subtotal: $295.99
|
|
<!--ByEmployee--> and <!--/ByEmployee-->
These tags are used around the Item tags to sort by Employee. When using these tags on an Invoice Template, Studiometry will loop through each Employee that has worked on a Debt/Credit in the Invoice, showing all of their work and information. When using these tags in a Report Template, Studiometry will loop through all of the Employees assigned to the Project, even if they have no Debt/Credits worked on. Here is an example of an Invoice Template's Employee information:
<hr><!--ByEmployee--><b><!--EmployeeName--></b><hr><!--Item--><!--ItemName--> : <!--ItemAmount--> <br><!--/Item--><br><b>Employee Subtotal: <!--EmployeeSubTotal--></b><hr><!--/ByEmployee--> |
could return
Mike Westbrook
Consulting : $45.00
Logo Design : $69.95
Web Programming : $219.54
Employee Subtotal: $334.49
Brian Freeney
Photography : $95.99
Prints : $200.00
Employee Subtotal: $295.99
|
|
<!--totalincurrency-ONLINETAG-->
Put the total for an invoice in multiple currencies by using this tag. Replace the "ONLINETAG" with the currency's online tag. For example, American Dollar's online tag is USD. The online tag for the currency can be found in the Online Tag column of the Currencies Listbox in the Currencies section of the Preferences Window. |
<!--spec-specname-->
To access your Project Specs in an Invoice or Report template, you would use the Spec tag. If your spec is named "Color" then you would put "spec-Color" as the tag. Studiometry will grab value for the first spec named Color.
This feature work great with the new Spec Suites, allowing you to easily use the same name between projects and access the data with the same invoice template. |
<!--taxes--> and <!--/taxes-->
These tags are used to repeat the total for each tax. Anything between these tags will be repeated for each tax that appears on the Invoice. You would use taxamount and taxname inside of these tags. |
<!--received--> and <!--/received-->
Anything between these tags will only appear if the Invoice has payments attached. If a Client makes a partial payment to an Invoice, and you'd like to display that, you could use the received tags along with <!--invoiceamountreceived-->. |
<!--ifpaid--> and <!--/ifpaid-->
Anything between these tags will only appear on a generated invoice if the Invoice is marked as paid. This could be used to display a common message on paid Invoices, without the need to manually change Invoice Templates when the Invoice has been paid. |
<!--ifnotpaid--> and <!--/ifnotpaid-->
These tags are the opposite of the ifpaid tags. |
<!--hourly--> and <!--/hourly-->
These tags can be placed inside of the <!--item--> and <!--/item--> tags to enter data to the Invoice only for hourly items. Anything between these tags will not appear unless the item tag they are within is an hourly item. They can be used with the item hours variable, for example. |
<!--mylogo-->
If you have a logo specified in the Preferences Window > My Info Panel, it will insert that Image into your invoice at this location (HTML invoices only). |