diff --git a/src/Price/Cash/index.js b/src/Price/Cash/index.js index 275476b..f32e38a 100644 --- a/src/Price/Cash/index.js +++ b/src/Price/Cash/index.js @@ -56,164 +56,149 @@ export default class Cash extends Component { - - - + + {Common.comma(this.props.total_price) + " 원"} - 차량 공장도 가격 + + + + 차량 공장도 가격 - - + {Common.comma(this.props.calcFuncs["부가가치세"]()) + " 원"} - 부가가치세 + 부가가치세 - - - - 0 - ? { color: "orange" } - : { color: "green" } - } - > + + + {Common.comma(this.props.calcFuncs["개별소비세"]()) + " 원"} - 개별소비세{" "} - } - content={ - Common.comma(this.props.calcFuncs["개별소비세_과세"]()) + - "원 중 " + - Common.comma(this.props.calcFuncs["개별소비세_감면"]()) + - "원 감면됨" - } - size="small" - /> - - - - - 0 - ? { color: "orange" } - : { color: "green" } - } - > + 개별소비세 + + } + content={ + Common.comma(this.props.calcFuncs["개별소비세_과세"]()) + + "원 중 " + + Common.comma(this.props.calcFuncs["개별소비세_감면"]()) + + "원 감면됨" + } + size="small" + position="top right" + /> + + + {Common.comma(this.props.calcFuncs["교육세"]()) + " 원"} - 교육세 - } - content={ - Common.comma(this.props.calcFuncs["교육세_과세"]()) + - "원 중 " + - Common.comma(this.props.calcFuncs["교육세_감면"]()) + - "원 감면됨" - } - size="small" - /> - - - - - 0 - ? { color: "orange" } - : { color: "green" } - } - > + 교육세 + + } + content={ + Common.comma(this.props.calcFuncs["교육세_과세"]()) + + "원 중 " + + Common.comma(this.props.calcFuncs["교육세_감면"]()) + + "원 감면됨" + } + size="small" + position="top right" + /> + + + {Common.comma(this.props.calcFuncs["취득세"]()) + " 원"} - 취득세 - } - content={ - Common.comma(this.props.calcFuncs["취득세_과세"]()) + - "원 중 " + - Common.comma(this.props.calcFuncs["취득세_감면"]()) + - "원 감면됨" - } - size="small" - /> - - - - + 취득세 + + } + content={ + Common.comma(this.props.calcFuncs["취득세_과세"]()) + + "원 중 " + + Common.comma(this.props.calcFuncs["취득세_감면"]()) + + "원 감면됨" + } + size="small" + position="top right" + /> + + {Common.comma(this.props.calcFuncs["자동차세"]()) + " 원"} - 자동차세 - } - content="비영업용 기준" - size="small" - /> - + 자동차세 + + } + content="비영업용 기준" + size="small" + position="top right" + /> + - - + + -{" "} {Common.comma( this.props.gov_subsidy ? this.props.gov_subsidy.subsidy : 0 ) + " 원"} - 정부 보조금 + 정부 보조금 - - + + -{" "} {Common.comma( this.props.local_subsidy ? this.props.local_subsidy.subsidy : 0 ) + " 원"} - 지방자치단체 보조금 + 지방자치단체 보조금 - - - + +
+ {Common.comma( + this.props.calcFuncs["보조금_감면_후_차량가격"]() + + this.props.calcFuncs["취득세"]() + + this.props.calcFuncs["자동차세"]() + ) + " 원"} +
+
- -
- {Common.comma( - this.props.calcFuncs["보조금_감면_후_차량가격"]() + - this.props.calcFuncs["취득세"]() + - this.props.calcFuncs["자동차세"]() - ) + " 원"} -
-
- 최종 가격 + + 최종 가격
- } - content="취득세, 자동차세 포함" - size="small" - /> -
+ + } + content="취득세, 자동차세 포함" + size="small" + position="top right" + /> diff --git a/src/Price/Loan/index.js b/src/Price/Loan/index.js index dae4986..844320b 100644 --- a/src/Price/Loan/index.js +++ b/src/Price/Loan/index.js @@ -25,7 +25,7 @@ export default class Loan extends Component { - + } closeIcon @@ -53,7 +53,7 @@ export default class Loan extends Component { ))} - + @@ -100,115 +100,110 @@ export default class Loan extends Component { - - - - + + + {Common.comma( this.props.calcFuncs["보조금_감면_전_차량가격"]() ) + " 원"} - 차량 가격 - } - content="공장도 가격 + 부가가치세 + 개별소비세 + 교육세" - size="small" - /> - - - - - + + 차량 가격 + + + } + content="공장도 가격 + 부가가치세 + 개별소비세 + 교육세" + size="small" + position="top right" + /> + + + - {Common.comma(this.props.calcFuncs["보조금"]()) + " 원"} + - {Common.comma(this.props.calcFuncs["보조금"]()) + " 원"} - 선납금1 (보조금) - } - content="정부 보조금 + 지방자치단체 보조금" - size="small" - /> - + 선납금1 (보조금) + + } + content="정부 보조금 + 지방자치단체 보조금" + size="small" + position="top right" + /> - - + - {Common.comma(this.props.prepay) + " 원"} + - {Common.comma(this.props.prepay) + " 원"} - 선납금2 (그 외) + 선납금2 (그 외) - - - - + + + {Common.comma( this.props.calcFuncs["보조금_감면_후_차량가격"]() - this.props.prepay ) + " 원"} - 대출원금 - } - content="차량 가격 - 선납금" - size="small" - /> - + 대출원금 + + } + content="차량 가격 - 선납금" + size="small" + position="top right" + /> - - - - 0 - ? { color: "orange" } - : { color: "green" } - } - > + + + {Common.comma(this.props.calcFuncs["취득세"]()) + " 원"} - 취득세 - } - content={ - Common.comma(this.props.calcFuncs["취득세_과세"]()) + - "원 중 " + - Common.comma(this.props.calcFuncs["취득세_감면"]()) + - "원 감면됨" - } - size="small" - /> - - - - + 취득세 + + } + content={ + Common.comma(this.props.calcFuncs["취득세_과세"]()) + + "원 중 " + + Common.comma(this.props.calcFuncs["취득세_감면"]()) + + "원 감면됨" + } + size="small" + position="top right" + /> + + {Common.comma(this.props.calcFuncs["자동차세"]()) + " 원"} - 자동차세 - } - content="비영업용 기준" - size="small" - /> - + 자동차세 + + } + content="비영업용 기준" + size="small" + position="top right" + /> - - - + +
{Common.comma( @@ -221,13 +216,17 @@ export default class Loan extends Component { ) + " 원"}
- 월상환금
- } - content="원리금 균등상환방식 (취득세, 자동차세 별도)" - size="small" - /> -
+ + + 월납입금 + + + } + content="원리금 균등상환방식 (취득세, 자동차세 별도)" + size="small" + position="top right" + />