I should have known that! and I’m not good when I am not well
Any guidance on the VAT part?
I should have known that! and I’m not good when I am not well
Any guidance on the VAT part?
I don’t really understand what are you trying to do?
I’m not sure what the 138 is for - I would have thought vat_yes_no.value
should equal 1 or 0 perhaps, to indicate whether VAT is applicable or not. So the onclick event would set the this value and you would just use dmx-bind:value
for the VAT calculations. Using an onclick event to calculate the VAT could be a problem in that it would need to be clicked again if any figures were changed. (I am not too clear on the various issus in this thread, so this might not be useful at all).
@Teodor @UKRiggers, should the repeat elements have unique IDs (like below), for this solution to work? Thanks in advance.
eg, dmx-bind:id="inp_costs_input_{{specialist_id}}" id="specialist_total"