<div class="col-12 row-new-price row-price">

	<input type="hidden" name="prices[][id]" value="">

	<div class="card card-light">
		<div class="card-body pt-2">
			
			<div class="row">

				<div class="col-2">
					{{ Form::label('code', 'Code') }}<br/>
					@include('components.form.input', ['name' => 'prices[0][code]', 'value' => $code ?? '', 'required' => true, 'class' => 'form-control-sm'])
				</div>

				<div class="col-1">
					{{ Form::label('quantity', 'Seuil') }}<br/>
					@include('components.form.inputs.number', ['name' => 'prices[0][quantity]', 'value' => $quantity ?? 1, 'required' => true, 'class' => 'form-control-sm'])
				</div>

				<div class="col-3">
					<div class="row">
						<div class="col-4">
							{{ Form::label('tax_id', 'TVA') }}<br/>
							@include('components.form.select', ['name' => "prices[0][tax_id]", 'value' => $price['tax_id'] ?? null, 'list' => $taxes_options ?? null, 'required' => true, 'class' => 'form-control form-control-sm'])
						</div>

						<div class="col-4">
							{{ Form::label('price', 'Prix HT') }}
							@include('components.form.inputs.money', ['name' => "prices[0][price]", 'value' => $price['price'] ?? 0, 'required' => true, 'class' => 'form-control-sm price-item'])
						</div>

						<div class="col-4">
							{{ Form::label('price_taxed', 'Prix TTC') }}
							@include('components.form.inputs.money', ['name' => "prices[0][price_taxed]", 'value' => $price['price_taxed'] ?? 0, 'required' => true, 'class' => 'form-control-sm price-taxed-item'])
						</div>
					</div>
				</div>

				<div class="col-1 text-right">
					<br/>
					<button type="button" class="btn btn-xs btn-danger delete-new-price-btn mt-2" data-card-widget="collapse" data-toggle="tooltip" title="supprimer">
						<i class="fas fa-trash"></i>
					</button>
				</div>

			</div>

		</div>

	</div>
</div>