{form stockItemMoveForm}
	<div id="stockItemMoveModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="stockItemMoveModalLabel">
		<div class="modal-header">
			<h3 id="stockItemMoveModalLabel">
				Skladový pohyb k položce {$stockItemMoveModal->stockItem->title}
			</h3>
		</div>

		<div class="modal-body">
			<table class="order-detail" style="text-align: center; margin: 20px auto;">
				<tbody>
				<tr>
					<th style="width: 140px; text-align: right;">{label amount /}</th>
					<td style="text-align: left;">
						{input amount, style => 'width: 150px;'} {\App\Models\StockItemModel::$UNIT_LIST[$stockItemMoveModal->stockItem->unit]}
					</td>
				</tr>
				<tr>
					<th style="width: 140px; text-align: right;">{label price_unit /}</th>
					<td style="text-align: left;">
						{input price_unit, style => 'width: 150px;'} Kč
					</td>
				</tr>
				<tr>
					<th style="width: 140px; text-align: right;">{label id_supplier /}</th>
					<td style="text-align: left;">
						{input id_supplier, style => 'width: 185px;'}
					</td>
				</tr>
				<tr>
					<th style="width: 140px; text-align: right;">{label note /}</th>
					<td style="text-align: left;">
						{input note, style => 'width: 350px; height: 70px;'}
					</td>
				</tr>
				</tbody>
			</table>
		</div>

		<div class="modal-footer">
			{input submit}
			<button class="btn" data-dismiss="modal" aria-hidden="true">Zavřít</button>
		</div>
	</div>
{/form}

<script type="text/javascript">
	$(document).ready(function() {
		$('#stockItemMoveModal').modal({
			keyboard: false,
			backdrop: 'static',
			show: true
		});

	});
</script>
