<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* platform/ags/listLineItems.html.twig */
class __TwigTemplate_9be0377022da015a68738b9a2b8f23bc38576d1e95ba551f37ad5f4d88531b30 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'nav_title' => [$this, 'block_nav_title'],
            'body' => [$this, 'block_body'],
            'scripts' => [$this, 'block_scripts'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "base.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "platform/ags/listLineItems.html.twig"));

        $this->parent = $this->loadTemplate("base.html.twig", "platform/ags/listLineItems.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

    }

    // line 3
    public function block_nav_title($context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "nav_title"));

        echo "<i class=\"fas fa-graduation-cap\"></i>&nbsp;&nbsp;<span class=\"text-danger\">Platform</span> - AGS line items";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

    }

    // line 5
    public function block_body($context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));

        // line 6
        echo "<div class=\"card bg-light\">
    <div class=\"card-header d-flex justify-content-between align-items-center\">
        <div>
            <i class=\"fas fa-graduation-cap\"></i>&nbsp;Line items
        </div>
        <a class=\"btn btn-primary\" href=\"";
        // line 11
        echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("platform_ags_create_line_item");
        echo "\">
            <i class=\"fas fa-plus-circle\"></i>&nbsp;Create
        </a>
    </div>
    <div class=\"card-body\">
        ";
        // line 16
        if ((twig_length_filter($this->env, (isset($context["lineItems"]) || array_key_exists("lineItems", $context) ? $context["lineItems"] : (function () { throw new RuntimeError('Variable "lineItems" does not exist.', 16, $this->source); })())) > 0)) {
            // line 17
            echo "            <table id=\"lineItems\" class=\"table table-striped table-bordered dt-responsive nowrap\" style=\"width:100%\">
                <thead>
                <tr>
                    <th>Identifier</th>
                    <th>Label</th>
                    <th>Actions</th>
                </tr>
                </thead>
                <tbody>
                ";
            // line 26
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["lineItems"]) || array_key_exists("lineItems", $context) ? $context["lineItems"] : (function () { throw new RuntimeError('Variable "lineItems" does not exist.', 26, $this->source); })()));
            foreach ($context['_seq'] as $context["_key"] => $context["lineItem"]) {
                // line 27
                echo "                    <tr>
                        <td>
                            <code>";
                // line 29
                echo twig_escape_filter($this->env, $this->extensions['App\Twig\AppExtension']->truncate(twig_get_attribute($this->env, $this->source, $context["lineItem"], "identifier", [], "any", false, false, false, 29)), "html", null, true);
                echo "</code>
                        </td>
                        <td>
                            ";
                // line 32
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lineItem"], "label", [], "any", false, false, false, 32), "html", null, true);
                echo "
                        </td>
                        <td style=\"width:1px;white-space:nowrap;\">
                            <div class=\"btn-group\" role=\"group\" aria-label=\"Basic example\">
                                <a
                                        class=\"btn btn-info text-white\"
                                        data-toggle=\"modal\"
                                        data-dismiss=\"modal\"
                                        data-target=\"#agsServiceUrlModal\"
                                        data-ags-service-url=\"";
                // line 41
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lineItem"], "identifier", [], "any", false, false, false, 41), "html", null, true);
                echo "\"
                                        data-ags-container-service-url=\"";
                // line 42
                echo twig_escape_filter($this->env, twig_join_filter(twig_slice($this->env, twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lineItem"], "identifier", [], "any", false, false, false, 42), "/"), 0,  -1), "/"), "html", null, true);
                echo "\"
                                >
                                    <i class=\"fas fa-link\"></i>&nbsp;AGS
                                </a>
                                <a class=\"btn btn-primary\" href=\"";
                // line 46
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("platform_ags_view_line_item", ["lineItemIdentifier" => $this->extensions['App\Twig\AppExtension']->base64UrlEncode(twig_get_attribute($this->env, $this->source, $context["lineItem"], "identifier", [], "any", false, false, false, 46))]), "html", null, true);
                echo "\">
                                    <i class=\"fas fa-info-circle\"></i>&nbsp;Details
                                </a>
                                <a class=\"btn btn-danger text-white\" href=\"";
                // line 49
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("platform_ags_delete_line_item", ["lineItemIdentifier" => $this->extensions['App\Twig\AppExtension']->base64UrlEncode(twig_get_attribute($this->env, $this->source, $context["lineItem"], "identifier", [], "any", false, false, false, 49))]), "html", null, true);
                echo "\" onclick=\"return confirm('Are you sure?')\">
                                    <i class=\"fas fa-trash-alt\"></i>&nbsp;Delete
                                </a>
                            </div>
                        </td>
                    </tr>
                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lineItem'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 56
            echo "                </tbody>
            </table>
        ";
        } else {
            // line 59
            echo "            <div class=\"alert alert-dark alert-no-margin-bottom\" role=\"alert\">
                <i class=\"fas fa-ban\"></i>&nbsp;No line items available
            </div>
        ";
        }
        // line 63
        echo "    </div>
    <div class=\"card-footer text-muted\">
        <small><code><i class=\"fas fa-exclamation-triangle\"></i>&nbsp;Non persistent cache storage</code></small>
    </div>
</div>
<div class=\"modal fade\" id=\"agsServiceUrlModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"agsServiceUrlModalLabel\" aria-hidden=\"true\">
    <div class=\"modal-dialog modal-lg\" role=\"document\">
        <div class=\"modal-content\">
            <div class=\"modal-header bg-light\">
                <h5 class=\"modal-title\" id=\"agsServiceUrlModalLabel\"><i class=\"fas fa-info-circle\"></i>&nbsp;AGS line item service url</h5>
                <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
                    <span aria-hidden=\"true\">&times;</span>
                </button>
            </div>
            <div class=\"modal-body bg-light\">
                <form>
                    <div class=\"form-group\">
                        <textarea class=\"form-control\" id=\"agsServiceUrlField\" rows=\"5\"></textarea>
                    </div>
                </form>
            </div>
            <div class=\"modal-footer bg-light\">
                <div class=\"btn-group\" role=\"group\" aria-label=\"Basic example\">
                    <button id=\"agsServiceUrlCopy\" type=\"button\" class=\"btn btn-info\">
                        <i id=\"agsServiceUrlCopyLogo\" class=\"fas fa-copy\"></i>&nbsp;
                        <span id=\"agsServiceUrlCopyText\">Copy to clipboard</span>
                    </button>
                    <button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\"><i class=\"fas fa-times\"></i>&nbsp;Close</button>
                </div>
            </div>
            <div class=\"modal-header bg-light\">
                <h5 class=\"modal-title\" id=\"agsServiceUrlModalLabel\"><i class=\"fas fa-info-circle\"></i>&nbsp;AGS line item container service url</h5>
            </div>
            <div class=\"modal-body bg-light\">
                <form>
                    <div class=\"form-group\">
                        <textarea class=\"form-control\" id=\"agsContainerServiceUrlField\" rows=\"5\"></textarea>
                    </div>
                </form>
            </div>
            <div class=\"modal-footer bg-light\">
                <div class=\"btn-group\" role=\"group\" aria-label=\"Basic example\">
                    <button id=\"agsContainerServiceUrlCopy\" type=\"button\" class=\"btn btn-info\">
                        <i id=\"agsContainerServiceUrlCopyLogo\" class=\"fas fa-copy\"></i>&nbsp;
                        <span id=\"agsContainerServiceUrlCopyText\">Copy to clipboard</span>
                    </button>
                    <button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\"><i class=\"fas fa-times\"></i>&nbsp;Close</button>
                </div>
            </div>
        </div>
    </div>
</div>
";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

    }

    // line 117
    public function block_scripts($context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));

        // line 118
        echo "    <script>
        \$('#agsServiceUrlModal').on(\"show.bs.modal\", function (event) {
            \$(\"#agsServiceUrlField\").val(\$(event.relatedTarget).attr(\"data-ags-service-url\"));
            \$(\"#agsContainerServiceUrlField\").val(\$(event.relatedTarget).attr(\"data-ags-container-service-url\"));
        });

        function copyUrlToClipboard() {

            \$('#agsServiceUrlField').select();
            document.execCommand(\"copy\");

            \$('#agsServiceUrlCopy').removeClass('btn-info');
            \$('#agsServiceUrlCopy').addClass('btn-success');
            \$('#agsServiceUrlCopyLogo').removeClass('fa-copy');
            \$('#agsServiceUrlCopyLogo').addClass('fa-check');
            \$('#agsServiceUrlCopyText').html('Copied !');
            setTimeout(
                function() {
                    \$('#agsServiceUrlCopy').removeClass('btn-success');
                    \$('#agsServiceUrlCopy').addClass('btn-info');
                    \$('#agsServiceUrlCopyLogo').removeClass('fa-check');
                    \$('#agsServiceUrlCopyLogo').addClass('fa-copy');
                    \$('#agsServiceUrlCopyText').html('Copy to clipboard');

                },
                1500
            );
        }

        function copyContainerUrlToClipboard() {

            \$('#agsContainerServiceUrlField').select();
            document.execCommand(\"copy\");

            \$('#agsContainerServiceUrlCopy').removeClass('btn-info');
            \$('#agsContainerServiceUrlCopy').addClass('btn-success');
            \$('#agsContainerServiceUrlCopyLogo').removeClass('fa-copy');
            \$('#agsContainerServiceUrlCopyLogo').addClass('fa-check');
            \$('#agsContainerServiceUrlCopyText').html('Copied !');
            setTimeout(
                function() {
                    \$('#agsContainerServiceUrlCopy').removeClass('btn-success');
                    \$('#agsContainerServiceUrlCopy').addClass('btn-info');
                    \$('#agsContainerServiceUrlCopyLogo').removeClass('fa-check');
                    \$('#agsContainerServiceUrlCopyLogo').addClass('fa-copy');
                    \$('#agsContainerServiceUrlCopyText').html('Copy to clipboard');

                },
                1500
            );
        }

        \$(\"#agsServiceUrlCopy\").click(function(){
            copyUrlToClipboard();
        });

        \$(\"#agsContainerServiceUrlCopy\").click(function(){
            copyContainerUrlToClipboard();
        });

        ";
        // line 178
        if ((twig_length_filter($this->env, (isset($context["lineItems"]) || array_key_exists("lineItems", $context) ? $context["lineItems"] : (function () { throw new RuntimeError('Variable "lineItems" does not exist.', 178, $this->source); })())) > 0)) {
            // line 179
            echo "        \$(document).ready(function() {
            \$('#lineItems').DataTable(
                {
                    responsive: {
                        details: {
                            display: \$.fn.dataTable.Responsive.display.modal( {
                                header: function ( row ) {
                                    var data = row.data();
                                    return 'Line item details';
                                }
                            } ),
                            renderer: \$.fn.dataTable.Responsive.renderer.tableAll( {
                                tableClass: 'table'
                            } )
                        }
                    },
                    language: {
                        paginate: {
                            previous: \"<\",
                            next: \">\"
                        }
                    }
                }
            );
        } );
        ";
        }
        // line 205
        echo "    </script>
";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

    }

    public function getTemplateName()
    {
        return "platform/ags/listLineItems.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  327 => 205,  299 => 179,  297 => 178,  235 => 118,  228 => 117,  169 => 63,  163 => 59,  158 => 56,  145 => 49,  139 => 46,  132 => 42,  128 => 41,  116 => 32,  110 => 29,  106 => 27,  102 => 26,  91 => 17,  89 => 16,  81 => 11,  74 => 6,  67 => 5,  54 => 3,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% extends 'base.html.twig' %}

{% block nav_title %}<i class=\"fas fa-graduation-cap\"></i>&nbsp;&nbsp;<span class=\"text-danger\">Platform</span> - AGS line items{% endblock %}

{% block body %}
<div class=\"card bg-light\">
    <div class=\"card-header d-flex justify-content-between align-items-center\">
        <div>
            <i class=\"fas fa-graduation-cap\"></i>&nbsp;Line items
        </div>
        <a class=\"btn btn-primary\" href=\"{{ path('platform_ags_create_line_item') }}\">
            <i class=\"fas fa-plus-circle\"></i>&nbsp;Create
        </a>
    </div>
    <div class=\"card-body\">
        {% if lineItems|length > 0 %}
            <table id=\"lineItems\" class=\"table table-striped table-bordered dt-responsive nowrap\" style=\"width:100%\">
                <thead>
                <tr>
                    <th>Identifier</th>
                    <th>Label</th>
                    <th>Actions</th>
                </tr>
                </thead>
                <tbody>
                {% for lineItem in lineItems %}
                    <tr>
                        <td>
                            <code>{{ lineItem.identifier|truncate }}</code>
                        </td>
                        <td>
                            {{ lineItem.label }}
                        </td>
                        <td style=\"width:1px;white-space:nowrap;\">
                            <div class=\"btn-group\" role=\"group\" aria-label=\"Basic example\">
                                <a
                                        class=\"btn btn-info text-white\"
                                        data-toggle=\"modal\"
                                        data-dismiss=\"modal\"
                                        data-target=\"#agsServiceUrlModal\"
                                        data-ags-service-url=\"{{ lineItem.identifier }}\"
                                        data-ags-container-service-url=\"{{ lineItem.identifier|split('/')|slice(0, -1)|join('/') }}\"
                                >
                                    <i class=\"fas fa-link\"></i>&nbsp;AGS
                                </a>
                                <a class=\"btn btn-primary\" href=\"{{ path('platform_ags_view_line_item', {'lineItemIdentifier': lineItem.identifier|base64_url_encode}) }}\">
                                    <i class=\"fas fa-info-circle\"></i>&nbsp;Details
                                </a>
                                <a class=\"btn btn-danger text-white\" href=\"{{ path('platform_ags_delete_line_item', {'lineItemIdentifier': lineItem.identifier|base64_url_encode}) }}\" onclick=\"return confirm('Are you sure?')\">
                                    <i class=\"fas fa-trash-alt\"></i>&nbsp;Delete
                                </a>
                            </div>
                        </td>
                    </tr>
                {% endfor %}
                </tbody>
            </table>
        {% else %}
            <div class=\"alert alert-dark alert-no-margin-bottom\" role=\"alert\">
                <i class=\"fas fa-ban\"></i>&nbsp;No line items available
            </div>
        {% endif %}
    </div>
    <div class=\"card-footer text-muted\">
        <small><code><i class=\"fas fa-exclamation-triangle\"></i>&nbsp;Non persistent cache storage</code></small>
    </div>
</div>
<div class=\"modal fade\" id=\"agsServiceUrlModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"agsServiceUrlModalLabel\" aria-hidden=\"true\">
    <div class=\"modal-dialog modal-lg\" role=\"document\">
        <div class=\"modal-content\">
            <div class=\"modal-header bg-light\">
                <h5 class=\"modal-title\" id=\"agsServiceUrlModalLabel\"><i class=\"fas fa-info-circle\"></i>&nbsp;AGS line item service url</h5>
                <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
                    <span aria-hidden=\"true\">&times;</span>
                </button>
            </div>
            <div class=\"modal-body bg-light\">
                <form>
                    <div class=\"form-group\">
                        <textarea class=\"form-control\" id=\"agsServiceUrlField\" rows=\"5\"></textarea>
                    </div>
                </form>
            </div>
            <div class=\"modal-footer bg-light\">
                <div class=\"btn-group\" role=\"group\" aria-label=\"Basic example\">
                    <button id=\"agsServiceUrlCopy\" type=\"button\" class=\"btn btn-info\">
                        <i id=\"agsServiceUrlCopyLogo\" class=\"fas fa-copy\"></i>&nbsp;
                        <span id=\"agsServiceUrlCopyText\">Copy to clipboard</span>
                    </button>
                    <button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\"><i class=\"fas fa-times\"></i>&nbsp;Close</button>
                </div>
            </div>
            <div class=\"modal-header bg-light\">
                <h5 class=\"modal-title\" id=\"agsServiceUrlModalLabel\"><i class=\"fas fa-info-circle\"></i>&nbsp;AGS line item container service url</h5>
            </div>
            <div class=\"modal-body bg-light\">
                <form>
                    <div class=\"form-group\">
                        <textarea class=\"form-control\" id=\"agsContainerServiceUrlField\" rows=\"5\"></textarea>
                    </div>
                </form>
            </div>
            <div class=\"modal-footer bg-light\">
                <div class=\"btn-group\" role=\"group\" aria-label=\"Basic example\">
                    <button id=\"agsContainerServiceUrlCopy\" type=\"button\" class=\"btn btn-info\">
                        <i id=\"agsContainerServiceUrlCopyLogo\" class=\"fas fa-copy\"></i>&nbsp;
                        <span id=\"agsContainerServiceUrlCopyText\">Copy to clipboard</span>
                    </button>
                    <button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\"><i class=\"fas fa-times\"></i>&nbsp;Close</button>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock body %}

{% block scripts %}
    <script>
        \$('#agsServiceUrlModal').on(\"show.bs.modal\", function (event) {
            \$(\"#agsServiceUrlField\").val(\$(event.relatedTarget).attr(\"data-ags-service-url\"));
            \$(\"#agsContainerServiceUrlField\").val(\$(event.relatedTarget).attr(\"data-ags-container-service-url\"));
        });

        function copyUrlToClipboard() {

            \$('#agsServiceUrlField').select();
            document.execCommand(\"copy\");

            \$('#agsServiceUrlCopy').removeClass('btn-info');
            \$('#agsServiceUrlCopy').addClass('btn-success');
            \$('#agsServiceUrlCopyLogo').removeClass('fa-copy');
            \$('#agsServiceUrlCopyLogo').addClass('fa-check');
            \$('#agsServiceUrlCopyText').html('Copied !');
            setTimeout(
                function() {
                    \$('#agsServiceUrlCopy').removeClass('btn-success');
                    \$('#agsServiceUrlCopy').addClass('btn-info');
                    \$('#agsServiceUrlCopyLogo').removeClass('fa-check');
                    \$('#agsServiceUrlCopyLogo').addClass('fa-copy');
                    \$('#agsServiceUrlCopyText').html('Copy to clipboard');

                },
                1500
            );
        }

        function copyContainerUrlToClipboard() {

            \$('#agsContainerServiceUrlField').select();
            document.execCommand(\"copy\");

            \$('#agsContainerServiceUrlCopy').removeClass('btn-info');
            \$('#agsContainerServiceUrlCopy').addClass('btn-success');
            \$('#agsContainerServiceUrlCopyLogo').removeClass('fa-copy');
            \$('#agsContainerServiceUrlCopyLogo').addClass('fa-check');
            \$('#agsContainerServiceUrlCopyText').html('Copied !');
            setTimeout(
                function() {
                    \$('#agsContainerServiceUrlCopy').removeClass('btn-success');
                    \$('#agsContainerServiceUrlCopy').addClass('btn-info');
                    \$('#agsContainerServiceUrlCopyLogo').removeClass('fa-check');
                    \$('#agsContainerServiceUrlCopyLogo').addClass('fa-copy');
                    \$('#agsContainerServiceUrlCopyText').html('Copy to clipboard');

                },
                1500
            );
        }

        \$(\"#agsServiceUrlCopy\").click(function(){
            copyUrlToClipboard();
        });

        \$(\"#agsContainerServiceUrlCopy\").click(function(){
            copyContainerUrlToClipboard();
        });

        {% if lineItems|length > 0 %}
        \$(document).ready(function() {
            \$('#lineItems').DataTable(
                {
                    responsive: {
                        details: {
                            display: \$.fn.dataTable.Responsive.display.modal( {
                                header: function ( row ) {
                                    var data = row.data();
                                    return 'Line item details';
                                }
                            } ),
                            renderer: \$.fn.dataTable.Responsive.renderer.tableAll( {
                                tableClass: 'table'
                            } )
                        }
                    },
                    language: {
                        paginate: {
                            previous: \"<\",
                            next: \">\"
                        }
                    }
                }
            );
        } );
        {% endif %}
    </script>
{% endblock %}", "platform/ags/listLineItems.html.twig", "C:\\wamp64\\www\\devkit-lti1p3-master-tool\\templates\\platform\\ags\\listLineItems.html.twig");
    }
}
