Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
$292 per month—let's make that $500!Learn more
Example for MoneyBird Contacts:
You can also specify the templates:
[[!MoneyBirdContacts? &tpl=`mbContact` &outerTpl=`mbContacts`]]
See the snippet properties below for more options.
MoneyBirdInvoices comes with some configuration properties you can set to adjust the way it behaves.
|tpl||(Req.) The template chunk for each single invoice entry||mbContact|
|outerTpl||(Opt.) The outer template for all invoice entries in the list (Use
|toPlaceholder||(Opt.) A placeholder name to set with the output instead of returning it|
|outputSeparator||(Opt.) How to separate the content from the next. Default to newline ("\n")|
|limit||(Opt.) To limit the results. Only applied when greater then 0.||0|
|offset||(Opt.) From where to start with the listing.||0|
|totalVar||(Opt.) The placeholder name of the placeholder containing the absolute total. Default set to "total".||total|
|filterKey||(Opt.) The name of the key to bind the filter on. Default set to "mbc".||mbc|
|invoicesResource||(Opt.) The ID of the resource where the "MoneyBirdInvoices" snippet is on. Default set to itself.||current|
|showNone||(Opt.) Used whether to show a "none" option in the filter list. Default set to true.||0|
|cacheExpire||(Opt.) The time when the cache is expired and rebuild. Default set to 86400 (24 hours). Smallest is 900 (15 minutes)||86400|