Hi,
The description boxes from “Bookeeping…” has a reduced length. I think this happens because the “Bookeping…” section is displayed in a table.
I know the size of the description box can be manually adjusted but i want to know if there is a way to make the description box to adjust automatically to the screen ratio, In the same way we have it for “Inter-company reporting procedure”.
Thanks.
Stefan
{% comment %}<----Inter-company reporting procedure---->{% endcomment %}
{% stripnewlines %}
{% ic %}{% input custom.tick.section_F as:boolean %}{% endic %}
{% if custom.tick.section_F %}
{::font size="m"}**{% assign nbr = nbr | plus:1 %}{{ nbr }}) Inter-company reporting procedure**{:/font}{% newline %}
{% else %}
{% ic %}{::font size="m"} Inter-company reporting procedure{:/font}{% endic %}
{% endif %}
{% if custom.tick.section_F %}
{% ifi custom.box.b6 != blank %}{% input custom.box.b6 as:text size:mini default:b6 placeholder:'Description'%}{% newline %}{% endifi %}
{% fori item in custom.section_F %}
**{% input item.header placeholder:'Header' %}**{% input item.attachment6 as:file_collection %}{% newline %}
{% input item.description as:text placeholder:'Description' %}{% newline %}
{% endfori %}
{% endif %}
{% endstripnewlines %}
{% nic %}
{:/group}
{::group}
{% endnic %}
{% comment %}<----Bookkeeping, reconciliations and management reporting---->{% endcomment %}
{% stripnewlines %}
|-------------------------------------
{% newline %}
| {% ic %} {% input custom.tick.section_G as:boolean %}{% endic %}
{% if custom.tick.section_G %}
{::font size="m"}**{% assign nbr = nbr | plus:1 %}{{ nbr }}) Bookkeeping, reconciliations and management reporting **{:/font}
{% else %}
{% ic %}{::font size="m"} Bookkeeping, reconciliations and management reporting{:/font}{% endic %}
{% endif %}
{% newline %}
| {% if custom.tick.section_G %}
{% ifi custom.box.b7 != blank %}
{% input custom.box.b7 as:text size:mini default:b7 placeholder:'Description' %}
{% endifi %}
{% newline %}
| {% fori item in custom.section_G %}
**{% input item.header placeholder:'Header' %}**{% input item.attachment7 as:file_collection %}
<br>
{% input item.description as:text placeholder:'Description' %}
<br>
{% endfori %}
{% newline %}
| {% ic %} {% input custom.tick.section_G1 as:boolean %}{% endic %}
{% if custom.tick.section_G1 %}
**Foreign exchange** {% input custom.item.attachmentG as:file_collection %}
<BR>{% input custom.note.G1 as:text default:G1 %}
{% else %}
{% ic %}Foreign exchange{::infotext as='hover'}If information not available in PRD please specific the source of the exchange rates and who and how is responsible for providing it{:/infotext}{% endic %}
{% endif %}
{% newline %}
| {% ic %} {% input custom.tick.section_G2 as:boolean %}{% endic %}
{% if custom.tick.section_G2 %}
**Accounting policies**{% input custom.item.attachment as:file_collection %}
<BR>{% input custom.note.G2 as:text default:G2 %}
<BR><br>{% ic %} {% input custom.tick.section_G5 as:boolean %}{% endic %}
{% if custom.tick.section_G5 %}
**Fixed assets** {%input custom.item.attachment as:file_collection %}
<br>{% input custom.note.G5 as:text default:G5 %}{% newline %}
{% else%}
{% ic %}Fixed assets{% endic %}
{% endif %}
{% newline %}
| {% ic %} {% input custom.tick.section_G6 as:boolean %}{% endic %}
{% if custom.tick.section_G6 %}
**Intangible assets**{%input custom.item.attachment as:file_collection %}
<br> {% input custom.note.G6 as:text default:G6 %}
{% else %}
{% ic %}Intangible assets{% endic %}
{% endif %}
{% newline %}
| {% ic %} {% input custom.tick.section_G7 as:boolean %}{% endic %}
{% if custom.tick.section_G7 %}
**Prepayments**{% input custom.item.attachment as:file_collection %}
<br>{% input custom.note.G7 as:text default:G7 %}
{% else %}
{% ic %}Prepayments{% endic %}
{% endif %}
{% newline %}
| {% fori item in custom.section_G8 %}
**{% input item.header placeholder:'Header' %}**{% input item.attachmentG8 as:file_collection %}
{% input item.description as:text placeholder:'Description' %}
{% endfori %}
{% newline %}
{% else %}
{% ic %} Accounting policies{% endic %}
{% endif %}
{% newline %}
| {% ic %} {% input custom.tick.section_G3 as:boolean %}{% endic %}
{% if custom.tick.section_G3 %}
**Management reporting** {% input custom.item.attachment as:file_collection %}
<BR>{% input custom.note.G3 as:text default:G3 %}
{% else %}
{% ic %} Management reporting{% endic %}
{% endif %}
{% newline %}
| {% ic %} {% input custom.tick.section_G4 as:boolean %}{% endic %}
{% if custom.tick.section_G4 %}
**Client specific reporting**{% input custom.item.attachment as:file_collection %}
<br>{% ifi custom.box.b44 != blank %}{% input custom.box.b44 as:text size:mini default:b44 placeholder:'Description' %}{% newline %}{% endifi %}
{% else %}
{% ic %} Client specific reporting{::infotext as='hover'}Include client specific reports and any form of manipulation performed by users. Explain why{:/infotext}{% endic %}
{% endif %}
{% endif %}
{% endstripnewlines %}
{% nic %}
{:/group}
{::group}
{% endnic %}
Hi Stefan,
You can extend the table to cover the whole width of the page by placing the plus symbol + in the column definition. This should solve your problem:
{% comment %}<----Bookkeeping, reconciliations and management reporting---->{% endcomment %}
{% stripnewlines %}
|--------------------------------+
Best,
Borja
Hi,
Thank you for advice.
Is is working only partially.
If i have “Accounting policies” ticked, all the following description boxes are smaller.
Thank you,
Stefan
Hi Stefan,
I think the breaks <br>
that you have in the code are making the table not render as expected. Try to remove them and replace them by the {% newline %} tag. For example:
| {% ic %} {% input custom.tick.section_G1 as:boolean %}{% endic %}
{% if custom.tick.section_G1 %}
**Foreign exchange** {% input custom.item.attachmentG as:file_collection %}
{% newline %}
|{% input custom.note.G1 as:text default:G1 %}
{% else %}
{% ic %}Foreign exchange{::infotext as='hover'}If information not available in PRD please specific the source of the exchange rates and who and how is responsible for providing it{:/infotext}{% endic %}
{% endif %}
{% newline %}
Let me know if that works,
Best,
Borja
Hi,
I doesn’t seem to work. I have changed the code but the description box is still small.
{% comment %}<----Bookkeeping, reconciliations and management reporting---->{% endcomment %}
{% stripnewlines %}
|-------------------------------------+
{% newline %}
| {% ic %} {% input custom.tick.section_G as:boolean %}{% endic %}
{% if custom.tick.section_G %}
{::font size="m"}**{% assign nbr = nbr | plus:1 %}{{ nbr }}) Bookkeeping, reconciliations and management reporting **{:/font}
{% else %}
{% ic %}{::font size="m"} Bookkeeping, reconciliations and management reporting{:/font}{% endic %}
{% endif %}
{% newline %}
| {% if custom.tick.section_G %}
{% ifi custom.box.b7 != blank %}
{% input custom.box.b7 as:text size:mini default:b7 placeholder:'Description' %}
{% endifi %}
{% newline %}
| {% fori item in custom.section_G %}
**{% input item.header placeholder:'Header' %}**{% input item.attachment7 as:file_collection %}
{% newline %}
| {% input item.description as:text placeholder:'Description' %}
{% newline %}
| {% endfori %}
{% newline %}
| {% ic %} {% input custom.tick.section_G1 as:boolean %}{% endic %}
{% if custom.tick.section_G1 %}
**Foreign exchange** {% input custom.item.attachmentG as:file_collection %}
{% newline %}
|{% input custom.note.G1 as:text default:G1 %}
{% else %}
{% ic %}Foreign exchange{::infotext as='hover'}If information not available in PRD please specific the source of the exchange rates and who and how is responsible for providing it{:/infotext}{% endic %}
{% endif %}
{% newline %}
| {% ic %} {% input custom.tick.section_G2 as:boolean %}{% endic %}
{% if custom.tick.section_G2 %}
**Accounting policies**{% input custom.item.attachment as:file_collection %}
{% newline %}
|{% input custom.note.G2 as:text default:G2 %}
{% newline %}
|{% ic %} {% input custom.tick.section_G5 as:boolean %}{% endic %}
{% if custom.tick.section_G5 %}
**Fixed assets** {%input custom.item.attachment as:file_collection %}
{% newline %}
|{% input custom.note.G5 as:text default:G5 %}{% newline %}
{% else%}
{% ic %}Fixed assets{% endic %}
{% endif %}
{% newline %}
| {% ic %} {% input custom.tick.section_G6 as:boolean %}{% endic %}
{% if custom.tick.section_G6 %}
**Intangible assets**{%input custom.item.attachment as:file_collection %}
{% newline %}
| {% input custom.note.G6 as:text default:G6 %}
{% else %}
{% ic %}Intangible assets{% endic %}
{% endif %}
{% newline %}
| {% ic %} {% input custom.tick.section_G7 as:boolean %}{% endic %}
{% if custom.tick.section_G7 %}
**Prepayments**{% input custom.item.attachment as:file_collection %}
{% newline %}
|{% input custom.note.G7 as:text default:G7 %}
{% else %}
{% ic %}Prepayments{% endic %}
{% endif %}
{% newline %}
| {% fori item in custom.section_G8 %}
**{% input item.header placeholder:'Header' %}**{% input item.attachmentG8 as:file_collection %}
{% input item.description as:text placeholder:'Description' %}
{% endfori %}
{% newline %}
{% else %}
{% ic %} Accounting policies{% endic %}
{% endif %}
{% newline %}
| {% ic %} {% input custom.tick.section_G3 as:boolean %}{% endic %}
{% if custom.tick.section_G3 %}
**Management reporting** {% input custom.item.attachment as:file_collection %}
{% newline %}
|{% input custom.note.G3 as:text default:G3 %}
{% else %}
{% ic %} Management reporting{% endic %}
{% endif %}
{% newline %}
| {% ic %} {% input custom.tick.section_G4 as:boolean %}{% endic %}
{% if custom.tick.section_G4 %}
**Client specific reporting**{% input custom.item.attachment as:file_collection %}
{% newline %}
|{% ifi custom.box.b44 != blank %}{% input custom.box.b44 as:text size:mini default:b44 placeholder:'Description' %}{% newline %}{% endifi %}
{% else %}
{% ic %} Client specific reporting{::infotext as='hover'}Include client specific reports and any form of manipulation performed by users. Explain why{:/infotext}{% endic %}
{% endif %}
{% endif %}
{% endstripnewlines %}
{% nic %}
{:/group}
{::group}
{% endnic %}
Hi Stefan,
I have noticed that there were some duplicates on the {% newline %} tags causing the table to break (e.g. the one next to {% input custom.note.G5 as:text default:G5 %}
). The following code should work:
{% comment %}<----Bookkeeping, reconciliations and management reporting---->{% endcomment %}
{% stripnewlines %}
|-------------------------------------+
{% newline %}
| {% ic %} {% input custom.tick.section_G as:boolean %}{% endic %}
{% if custom.tick.section_G %}
{::font size="m"}**{% assign nbr = nbr | plus:1 %}{{ nbr }}) Bookkeeping, reconciliations and management reporting **{:/font}
{% else %}
{% ic %}{::font size="m"} Bookkeeping, reconciliations and management reporting{:/font}{% endic %}
{% endif %}
{% newline %}
| {% if custom.tick.section_G %}
{% ifi custom.box.b7 != blank %}
{% input custom.box.b7 as:text size:mini default:b7 placeholder:'Description' %}
{% endifi %}
{% newline %}
| {% fori item in custom.section_G %}
**{% input item.header placeholder:'Header' %}**{% input item.attachment7 as:file_collection %}
{% newline %}
| {% input item.description as:text placeholder:'Description' %}
{% newline %}
| {% endfori %}
{% newline %}
| {% ic %} {% input custom.tick.section_G1 as:boolean %}{% endic %}
{% if custom.tick.section_G1 %}
**Foreign exchange** {% input custom.item.attachmentG as:file_collection %}
{% newline %}
|{% input custom.note.G1 as:text default:G1 %}
{% else %}
{% ic %}Foreign exchange{::infotext as='hover'}If information not available in PRD please specific the source of the exchange rates and who and how is responsible for providing it{:/infotext}{% endic %}
{% endif %}
{% newline %}
| {% ic %} {% input custom.tick.section_G2 as:boolean %}{% endic %}
{% if custom.tick.section_G2 %}
**Accounting policies**{% input custom.item.attachment as:file_collection %}
{% newline %}
|{% input custom.note.G2 as:text default:G2 %}
{% newline %}
|{% ic %} {% input custom.tick.section_G5 as:boolean %}{% endic %}
{% if custom.tick.section_G5 %}
**Fixed assets** {%input custom.item.attachment as:file_collection %}
{% newline %}
|{% input custom.note.G5 as:text default:G5 %}
{% else%}
{% ic %}Fixed assets{% endic %}
{% endif %}
{% newline %}
| {% ic %} {% input custom.tick.section_G6 as:boolean %}{% endic %}
{% if custom.tick.section_G6 %}
**Intangible assets** {% input custom.item.attachment as:file_collection %}
{% newline %}
| {% input custom.note.G6 as:text default:G6 %}
{% else %}
{% ic %}Intangible assets{% endic %}
{% endif %}
{% newline %}
| {% ic %} {% input custom.tick.section_G7 as:boolean %}{% endic %}
{% if custom.tick.section_G7 %}
**Prepayments**{% input custom.item.attachment as:file_collection %}
{% newline %}
|{% input custom.note.G7 as:text default:G7 %}
{% else %}
{% ic %}Prepayments{% endic %}
{% endif %}
{% newline %}
{% fori item in custom.section_G8 %}
|**{% input item.header placeholder:'Header' %}**{% input item.attachmentG8 as:file_collection %}
{% newline %}
|{% input item.description as:text placeholder:'Description' %}
{% newline %}
{% endfori %}
{% else %}
{% ic %} Accounting policies{% endic %}
{% newline %}
{% endif %}
| {% ic %} {% input custom.tick.section_G3 as:boolean %}{% endic %}
{% if custom.tick.section_G3 %}
**Management reporting** {% input custom.item.attachment as:file_collection %}
{% newline %}
|{% input custom.note.G3 as:text default:G3 %}
{% else %}
{% ic %} Management reporting{% endic %}
{% endif %}
{% newline %}
| {% ic %} {% input custom.tick.section_G4 as:boolean %}{% endic %}
{% if custom.tick.section_G4 %}
**Client specific reporting**{% input custom.item.attachment as:file_collection %}
{% newline %}
|{% ifi custom.box.b44 != blank %}{% input custom.box.b44 as:text size:mini default:b44 placeholder:'Description' %}{% newline %}{% endifi %}
{% else %}
{% ic %} Client specific reporting{::infotext as='hover'}Include client specific reports and any form of manipulation performed by users. Explain why{:/infotext}{% endic %}
{% endif %}
{% endif %}
{% endstripnewlines %}
{% nic %}
{:/group}
{::group}
{% endnic %}
Best,
Borja
Thank you.
Have a great week.