No announcement yet.

Pickup Date changeable in online web tender accept

  • Filter
  • Time
  • Show
Clear All
new posts

  • Pickup Date changeable in online web tender accept



    In the standard online booking / tendering accept screen, the pickup date time is presented as a changeable field.
    Has anybody been able to hide this field or mark it as non-changeable without changing the xsl?
    I have a vague memory from a few years ago that with certain settings the pickup field would not show up. Unfortunately i can't remember details.

    Some more details on my set-up:
    - Mode configured as review mode and tender mode
    - Mode not configured as conditional booking mode
    - servprov settings:
    [x] allow tender
    [x] accept spot bids
    [x] accept broadcast tenders
    [ ] allow accept by ship unit
    [ ] perform conditional accepts

    Any help appreciated.

    Thanks in advance.
    Rob van Haaster

    MavenWire Europe

  • #2
    Re: Pickup Date changeable in online web tender accept

    Hi Rob,

    I have the same issue, did you get the fix for that?

    Thank you.
    Version 6.2


    • #3
      Re: Pickup Date changeable in online web tender accept

      Locate the ExecTendAccept.xsl file on your web server. It should be under ...\htdocs\xsl\tendercollab folder. Find the code for Pickup Time and modify the following line to make the field readonly.

      <!-- Pickup time -->
      <xsl:template name="content4">
      <xsl:call-template name="fieldDateTime">
      <xsl:with-param name="name">tender_collaboration/servprov_contents/servprov_content/pickup_date_time</xsl:with-param>
      <xsl:with-param name="label"><xsl:value-of select="translator:get-translated-value('field.tender_resp/pickup_date_time')"/></xsl:with-param>
      <xsl:with-param name="form">management_main</xsl:with-param>
      <xsl:with-param name="query">false</xsl:with-param>
      <xsl:with-param name="value"><xsl:value-of select="servprov_contents/servprov_content/pickup_date_time"/></xsl:with-param>
      <xsl:with-param name="readonly">true</xsl:with-param>
      <xsl:with-param name="required">true</xsl:with-param>
      <xsl:with-param name="size">30</xsl:with-param>
      <xsl:with-param name="max">30</xsl:with-param>

      Save the file and restart OTM. Try again, it should do the trick.