Problems, need help? Have a tip or advice? Post it here.
14 posts Page 2 of 2
I wonder what was the reason to not splitting invoices and quotes into 2 separate templates?
Hi Trendoman,

Mainly to keep the workflow simple and for easily ( on a later stage ) print out reports.

Also .... A quote is essentially an editable invoice. Meaning a quote can be edited and/or deleted, it's not allowed , for accounting reasons, to change an invoice. Since a quote and invoice are having exactly the same data I don't see why I should have 2 templates for the same input.
I load frameworks and write bugs on top of them, after that I rearrange the code so that it looks like a cool product.
Hi,

I have still one question left regarding the 'Conditional Fields' feature and this uid and a front-end form ...

Since the uid is auto generated and not a editable form field how to set my uid 'invoice_number' to hide? I suppose it's not as simple as :

Code: Select all
 <cms:db_persist_form
    invoice_number= hide
/>
I load frameworks and write bugs on top of them, after that I rearrange the code so that it looks like a cool product.
Try -
Code: Select all
<cms:config_form_view>
    <cms:field name='invoice_number' hide='1' />
</cms:config_form_view>

or the following for more involved use-cases -
viewtopic.php?f=4&t=11348&p=29943#p29942

Hope it helps.
14 posts Page 2 of 2