| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?php
- namespace App;
- ?>
- <div class="modal fade" role="dialog" tabindex="-1" data-backdrop="static" id="document-item-modal">
- <div class="modal-dialog modal-lg">
- <form class="modal-content" method="post">
- <?php
- View::include("modals/header", ["title" => __("Document Item")]);
- ?>
- <input type="hidden" name="document_item_id" value="" />
- <div class="modal-body">
- <div class="mb-3">
- <label for="document-item-description" class="form-label">
- <?=htmlspecialchars(__("Description"))?>
- </label>
- <input class="form-control" type="text" name="description" id="document-item-description" placeholder="<?=htmlspecialchars(__("Type description"))?>" maxlength="255" required />
- </div>
- <div class="mb-3">
- <label for="document-item-serial-number" class="form-label">
- <?=htmlspecialchars(__("Serial Numbers"))?>
- </label>
- <textarea class="form-control" name="serial_number" id="document-item-serial-number" placeholder="<?=htmlspecialchars(__("Type serial number"))?>" maxlength="64000" rows="4"></textarea>
- </div>
- <div class="mb-3">
- <label for="document-item-quantity" class="form-label">
- <?=htmlspecialchars(__("Quantity"))?>
- </label>
- <input class="form-control" type="number" name="quantity" id="document-item-quantity" min="0" value="1" placeholder="<?=htmlspecialchars(__("Type quantity"))?>" required />
- </div>
- <div class="mb-3">
- <label for="document-item-unit-price" class="form-label">
- <?=htmlspecialchars(__("Unit Price"))?>
- </label>
- <input class="form-control" type="number" name="unit_price" id="document-item-unit-price" min="0.00" step="0.01" value="0.00" placeholder="<?=htmlspecialchars(__("Type unit price"))?>" required />
- </div>
- <div class="mb-3">
- <label for="document-item-insurance-value" class="form-label">
- <?=htmlspecialchars(__("Insurance Value"))?>
- </label>
- <input class="form-control" type="number" name="insurance_value" id="document-item-insurance-value" min="0.00" step="0.01" value="0.00" placeholder="<?=htmlspecialchars(__("Type insurance value"))?>" required />
- </div>
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-success">
- <?= htmlspecialchars(__("Save")) ?>
- </button>
- </div>
- </form>
- </div>
- </div>
|