| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- namespace App;
- /**
- * @var Customer[] $customers
- */
- ?>
- <div class="row mb-3">
- <div class="col">
- <h3><?=htmlspecialchars(__("Map"))?></h3>
- </div>
- </div>
- <div class="row">
- <div class="col-xl-3 col-lg-4">
- <table id="customers-table" class="table table-bordered">
- <colgroup>
- <col style="width: 1%"/>
- <col style="width: 100%"/>
- </colgroup>
- <thead>
- <tr>
- <th>
- <!--suppress HtmlFormInputWithoutLabel -->
- <input class="form-check-input" type="checkbox" id="all-items-checkbox" />
- </th>
- <th>
- <?=htmlspecialchars(__("Customer Name"))?>
- </th>
- </tr>
- </thead>
- <tbody>
- <?php
- foreach($customers as $customer) {
- ?>
- <tr>
- <td>
- <!--suppress HtmlFormInputWithoutLabel -->
- <input class="form-check-input" type="checkbox" name="customer_ids[]" value="<?=$customer->id?>" />
- </td>
- <td>
- <a href="<?=htmlspecialchars($customer->getUrl())?>">
- <?=htmlspecialchars($customer->name)?>
- </a>
- </td>
- </tr>
- <?php
- }
- ?>
- </tbody>
- </table>
- </div>
- <div class="col-xl-9 col-lg-8">
- <div class="mb-3" id="map" style="height: 75vh; background: #eee;">
- </div>
- </div>
- </div>
|