| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?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-lg-6">
- <div class="mb-3" id="map" style="height: 480px; background: #eee;">
- </div>
- </div>
- <div class="col-lg-6">
- <h4><?=htmlspecialchars(__("Customers"))?></h4>
- <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(__("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>
|