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

	<input type="hidden" name="prices[0][article_id]" value="{{ $id ?? null }}">

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

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

				<div class="col-lg-3">
					{{ Form::label('package_id', 'Type Package') }}<br/>
					@include('components.form.select', [
						'name' => "prices[0][package_id]", 
						'value' => $price['package_id'] ?? null, 
						'list' => $packages ?? null, 
						'required' => true, 
						'class' => 'select2 form-control-sm packages w-100',
					])
				</div>

				<div class="col-lg-1">
					{{ Form::label('package_qty', 'Pack Qté') }}<br/>
					@include('components.form.inputs.number', [
						'name' => "prices[0][package_quantity]", 
						'value' => $price['package_quantity'] ?? null, 
						'required' => true, 
						'class' => 'form-control-sm',
					])
				</div>

				<div class="col-lg-3">
					{{ Form::label('unity_id', 'Unité') }}<br/>
					@include('components.form.select', [
						'name' => "prices[0][unity_id]", 
						'value' => $price['unity_id'] ?? null, 
						'list' => $unities ?? null, 
						'required' => true, 
						'class' => 'select2 form-control-sm unities w-100',
						'with_empty' => ''
					])
				</div>

				<div class="col-lg-3">

					<div class="row">
						<div class="col-4">
							{{ Form::label('tax_id', 'TVA') }}<br/>
							@include('components.form.select', ['name' => 'prices[0][tax_id]', 'value' => $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 ?? 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_taxed ?? 0, 'required' => true, 'class' => 'form-control-sm price-taxed-item'])
						</div>
					</div>
				</div>

				<div class="col-lg-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>