anchor.diff:                              +(value.work_price * value.work_amount) +
                               "</td></tr>");
                   });
  +                
  +                $("#generate-form").attr("action", "/transformation/docbook/${invoiceId}");
               }
               
  -            fillInvoiceData();
  +            //call when it is ready
  +            $( document ).ready(function() {
  +                fillInvoiceData();
  +            });
           </script>
       </body>
   </html>
  
positive.code:              * data for invoice detail output
               * @type JSON
               */
              var invoiceData = ${invoiceJson};
  
              /**
               * function for filling the form of invoice
  
negative.code:             </div>
              <div class="row body-section">
                  <div class="col-md-4 col-md-offset-2">
                      <form id="generate-form" method="post">
                          <input type="text" name="invoice_id" hidden/>
                          <button type="submit" class="tile link-tile btn btn-block"><i class='fa fa-external-link'
                                                                                        aria-hidden='true'></i>&nbsp;&nbsp;&nbsp;Generate
  