Example #1
0
<?php

use Enpowi\App;
use Enpowi\Modules\Module;
use Enpowi\Modules\DataOut;
Module::is();
$data = (new DataOut())->add('territories', ETM\Territory::returnPriority())->out();
?>
<div
    class="container"
    data="<?php 
echo $data;
?>
">
  <h3 v-t>Ideal Territory Return Dates</h3>
  <table class="table territory-detail wide">
    <thead>
    <tr>
      <th v-t>Territory</th>
      <th v-t>Locality</th>
      <th v-t>Checkout Out</th>
      <th v-t>Ideal Return Date</th>
      <th v-t>Publisher</th>
      <th v-t>Status</th>
    </tr>
    </thead>
    <tbody>
    <tr
        v-repeat="territory : territories"
        v-attr="class: territory.due
          ? 'warning'