Skip to content

Instantly share code, notes, and snippets.

@resqonline
Created January 23, 2023 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save resqonline/e41033c0bdc8dc7d5215591c7ea0f08c to your computer and use it in GitHub Desktop.
Save resqonline/e41033c0bdc8dc7d5215591c7ea0f08c to your computer and use it in GitHub Desktop.
WP metabox that displays a datatable
<?php echo '<div id="bookings_form">
<div class="form-wrapper">
<editor-field name="id"></editor-field>
<editor-field name="kurs_id"></editor-field>
<editor-field name="contact_id"></editor-field>
<editor-field name="amount"></editor-field>
<editor-field name="discount"></editor-field>
<editor-field name="qualify"></editor-field>
<editor-field name="overnight"></editor-field>
<editor-field name="status"></editor-field>
<editor-field name="stornocost"></editor-field>
<editor-field name="old_status"></editor-field>
<editor-field name="add_date"></editor-field>
<editor-field name="ue_attended"></editor-field>
<editor-field name="booking_notes"></editor-field>
</div>
</div>
<div class="tableview">
<table id="esibookingstable" class="termine display" style="width:100%">
</table>
</div>'; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment