LukyLuke / PiTres

this should be a Helper-Application for the treasurer of the PirateParty Switzerland
3 stars 1 forks source link

Invoice-title must be different #14

Closed LukyLuke closed 11 years ago

LukyLuke commented 11 years ago

Make the title on the invoice different when a reminder is sent out.

On the first invoice it should be "Invoice", but on the reminder it must be "Reminder" to not confuse the customers.

LukyLuke commented 11 years ago

We can use the property «reminded» for this.

LukyLuke commented 11 years ago

Will add an expression-tag in the XmlPdf: {IF variable exp "value"}...{ELSE}...{/IF}

Where exp is for: < | > checking numbers to greater/lower; <= | >= checking numbers to greater/lower or equal; == | <> numbers and text to be similar/different; ~= text to be like; the value.

The part {ELSE}... should be optional and maybe extendable in future for an {ELSE IF ...}...

LukyLuke commented 11 years ago

Implemented, but needs some testing...