Jump to content

Edit History

seok

seok

I am looking for edit Order Notes to add a smarty code and the file of PS 8.0.3 src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/internal_note.html.twig show the next code:

 

    <div class="col-md-12 mt-3 js-order-notes-block{% if not isNoteOpen %} d-none{% endif %}">
      {{ form_start(internalNoteForm, {
        'action': path('admin_orders_set_internal_note', {'orderId': orderForViewing.getId()})
      }) }}
      {{ form_widget(internalNoteForm.note) }}

      <div class="d-none">
        {{ form_rest(internalNoteForm) }}
      </div>
 

I remarked in bold that i am trying to modify, in back office from firebug the form_start(internalNoteForm not show <textarea id="internal_note_note" name="internal_note[note]" like firebug that is where I want add my smarty code.

 

In what file is the code "textarea" of form_start path('admin_orders_set_internal_note ?

seok

seok

I am looking for edit Order Notes to add a smarty code and the file src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/internal_note.html.twig show the next code:

 

    <div class="col-md-12 mt-3 js-order-notes-block{% if not isNoteOpen %} d-none{% endif %}">
      {{ form_start(internalNoteForm, {
        'action': path('admin_orders_set_internal_note', {'orderId': orderForViewing.getId()})
      }) }}
      {{ form_widget(internalNoteForm.note) }}

      <div class="d-none">
        {{ form_rest(internalNoteForm) }}
      </div>
 

I remarked in bold that i am trying to modify, in back office from firebug the form_start(internalNoteForm not show <textarea id="internal_note_note" name="internal_note[note]" like firebug that is where I want add my smarty code.

 

In what file is the code "textarea" of form_start path('admin_orders_set_internal_note ?

×
×
  • Create New...