Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $table_definition = (object) [
- "name" => "vendors",
- "access" => "read",
- "search_post_route" => "",
- "index_post_route" => "",
- "index_get_route" => "",
- "header_definition" => [],
- "footer_definition" => [],
- "column_definition" => [],
- ];
- ?>
- @section('content')
- <div class="panel-body">
- <zzi-results-table
- v-bind:results="{{ json_encode($vendors) }}"
- v-bind:table_definition="{{ json_encode($table_definition) }}"
- >
- </zzi-results-table>
- </div>
- @stop
- @section('script')
- //can't get this variable to zzi-results-table
- js_table_definition = {
- "name" : "vendors",
- "access" : "read",
- "search_post_route" : "",
- "index_post_route" : "",
- "index_get_route" : "",
- "header_definition" : [],
- "footer_definition" : [],
- "column_definition" : [],
- };
- @stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement