{"version":"1.0","type":"rich","title":"Gist 67bed86151bd1a473e5d","description":"This code defines a method that builds a context dictionary for notifier templates. It selects a billing contact based on the booking or account, falling back to a blank Contact instance. The returned dictionary includes invoice details like due date, type, number, total price, and an item table, using the model’s existing fields and methods. The example demonstrates a typical Django model helper for preparing template data.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-67bed86151bd1a473e5d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}