Example contract
This is an example contract. You can generate your own by following these steps:
Create a contract.odt in libreoffice
Unzip the contract.odt file to get content.xml
Use django templating in content.xml so that RebelStuff can automatically insert relevant information
Store contract.odt and content.xml on your server
Update CONTRACT_REFERENCE and CONTRACT_CONTENT in settings.py to point to these files
Name: {{ object.name }}
Items:
{% for item in object.bookingitem_set.all %}
{{ item.amount }}x {{ item.stuff.name }}
{% endfor %}
Duration: {{ object.start|date }} - {{ object.end|date }}
Price: {{ object.price }} $