if statement on order_invoice.tpl
On my invoice I want the langauge variable to be controlled by an if statement. If the order status IS NOT complete, I want the invoice to say "Order Confirmation", but if the order status IS complete I want it to say "Invoice".
Forgive my poor knowledge of PHP, but I guess the logic would be
if orderstatus does not eqal complete
{$lng.lbl_ordercofirmation|upper}
else
{$lng.lbl_invoice|upper}
Any suggestions?
__________________
X-Cart 4.4.0
PHP 5.2.5
|