	<!-- 진행상태 -->
	<section class="mt-5 pt30">
		<div class="options--wrapper">
			<div class="progress--wrap">
			<?php if($ds_status_contract_step1_sale == "Y") { ?>
				<div class="actv">
					<div class="status--box">확인</div>
					<div class="status--desc">
						<p>차량정보 확인</p>
						<!--<button class="btn btn-cancel">상세보기</button>-->
					</div>
				</div>
			<?php }else {?>
				<div class="">
					<div class="status--box">대기</div>
					<div class="status--desc">
						<p>차량정보 확인</p>
						<!--<button class="btn btn-cancel">상세보기</button>-->
					</div>
				</div>
			<?php } ?>
			<?php if($ds_status_contract_step2_sale == "Y") { ?>
				<div class="actv">
					<div class="status--box">확인</div>
					<div class="status--desc">
						<p>일정 확인</p>
						<button type='button' class="btn btn-cancel" id='btn_contract_step2_view'>상세보기</button>
					</div>
				</div>
			<?php }else {?>
				<div class="">
					<div class="status--box">대기</div>
					<div class="status--desc">
						<p>일정 확인</p>
					</div>
				</div>
			<?php }?>
			<?php if($ds_status_contract_step3_sale == "Y") { ?>
				<div class="actv">
					<div class="status--box">확인</div>
					<div class="status--desc">
						<p>계약 상황</p>
						<button type='button' class="btn btn-cancel" id='btn_contract_step3_view'>상세보기</button>
					</div>
				</div>
			<?php }else {?>
				<div class="">
					<div class="status--box">대기</div>
					<div class="status--desc">
						<p>계약 상황</p>
					</div>
				</div>
			<?php } ?>
			<?php if($ds_status_contract_step4_sale == "Y") { ?>
				<div class="actv">
					<div class="status--box">확인</div>
					<div class="status--desc">
						<p>거래 마무리</p>
						<button type='button' class="btn btn-cancel" id='btn_contract_step4_view'>상세보기</button>
					</div>
				</div>
			<?php }else {?>
				<div class="">
					<div class="status--box">대기</div>
					<div class="status--desc">
						<p>거래 마무리</p>
					</div>
				</div>
			<?php }?>
			<?php if($ds_status_contract_step5_sale == "Y") { ?>
				<div class="actv">
					<div class="status--box">확인</div>
					<div class="status--desc">
						<p>거래 완료</p>
						<button class="btn btn-cancel" data-bs-toggle="modal" data-bs-target="#exampleModal6" id='btn_contract_step5_view'>상세보기</button>
					</div>
				</div>
			<?php }else {?>
				<div>
					<div class="status--box">대기</div>
					<div class="status--desc">
						<p>거래 완료</p>
					</div>
				</div>
			<?php }?>
			</div>
		</div>
	</section>
<script>
$(function() {
<?php if($ds_status_contract_step1_sale == "Y") {?>
	$("#btn_contract_step1_view").on("click", function() {
		$("#contractModal1").modal("show");
	});
<?php } ?>
<?php if($ds_status_contract_step2_sale == "Y") {?>
	$("#btn_contract_step2_view").on("click", function() {
		$("#contractModal2").modal("show");
	});
<?php } ?>
<?php if($ds_status_contract_step3_sale == "Y") {?>
	$("#btn_contract_step3_view").on("click", function() {
		$("#contractModal3").modal("show");
	});
<?php } ?>
<?php if($ds_status_contract_step4_sale == "Y") {?>
	$("#btn_contract_step4_view").on("click", function() {
		$("#contractModal4").modal("show");
	});
<?php } ?>
<?php if($ds_status_contract_step5_sale == "Y") {?>
	$("#btn_contract_step5_view").on("click", function() {
		$("#contractModal5").modal("show");
	});
<?php } ?>

});
</script>
