<div class="modal fade bs-modal-lg" id="form-client-relationship" tabindex="-1" role="dialog" aria-hidden="true">
	<div class="modal-dialog modal-dm">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
				<h3 class="modal-title">Client Relationship</h3>
			</div>
			<div id="_div_paymentPopup" style="display:none;" class="alert alert-block alert-danger fade in">
				<h4 class="alert-heading">Warning!</h4>
				<p id="_msg_paymentPopup"></p>
			</div>

			<div style="display:none;" class="alert-message alert-success" role="alert" id="done">
				<h4 class="alert-heading">Successfully!</h4>
				<hr>
				<p class="mb-0">Data has been saved successfully!</p>
			</div>
			<br/>
			<form class="form-horizontal" role="form" action="{{route('post_sale_client_relationship')}}" method="post">
				@csrf
				<div class="row">
					<br>
					<div class="col-md-12">
						<input type="hidden" name="sale_id" id="sale_id_client_relationship">
						<div class="box-body table-responsive">
							<table id="client-relationship" class="table table-striped table-bordered table-hover nowrap">
								<thead>
									<tr>
										<th>Client Relationship</th>
										<th>Type of Relation</th>
										<th>Action</th>
									</tr>
								</thead>
								<tbody>
									<tr>
										<td>
											<div class="input-group" style='width:200px !important'>
												<select class="form-control form-select select2" name="client_relationship[]" width="100%" required>
													
												</select>
											</div>
										</td>
										<td>
											<div class="input-group">
												<input type="text" name="relation_type[]" class="form-control" id="relation_type" required>
											</div>
										</td>
										<td><button class="btn btn-md btn-primary" type="button" onclick="add_more_relationship(this)"><i class="fa fa-plus"></i></button></td>
									</tr>
								</tbody>
							</table>
						</div>
					</div>
				</div>
				<div class="modal-footer">
					<button type="button" class="button_danger" data-dismiss="modal">Close</button>
					<button type="submit" class="button_success" id="btn-submit" onclick="save_client_relation()">Save Change</button>
				</div>
			</form>
		</div>
		<!-- /.modal-content -->
	</div>
	<!-- /.modal-dialog -->
</div>