h1 注文情報確認

.order
  .bill_address
    h2
      | Billing address
    = render 'comable/shared/address', address: @order.bill_address

  .ship_address
    h2
      | Shipping address
    = render 'comable/shared/address', address: @order.ship_address

  .details
    h2
      | Order details
    - @order.order_deliveries.first.order_details.each do |order_detail|
      .name
        = order_detail.stock.name
      .price
        = order_detail.price
      .quantity
        = order_detail.quantity

  .total
    h2 お会計
    .item_total_price
      = number_to_currency @order.current_item_total_price
    .shipment_fee
      = number_to_currency @order.current_shipment_fee
    .total_price
      = number_to_currency @order.current_total_price

  = form_for @order, as: :order, url: comable.order_path, method: :post do |f|
    = f.submit

h1 注文情報確認

.order
  .bill_address
    h2
      | Billing address
    = render 'comable/shared/address', address: @order.bill_address if @order.bill_address

  .ship_address
    h2
      | Shipping address
    = render 'comable/shared/address', address: @order.ship_address if @order.ship_address

  .details
    h2
      | Order details
    - @order.order_deliveries.first.order_details.each do |order_detail|
      .name
        = order_detail.stock.name
      .price
        = order_detail.price
      .quantity
        = order_detail.quantity

  .total
    h2 お会計
    .item_total_price
      = number_to_currency @order.current_item_total_price
    .shipment_fee
      = number_to_currency @order.current_shipment_fee
    .total_price
      = number_to_currency @order.current_total_price

  = form_for @order, as: :order, url: comable.order_path, method: :post do |f|
    = f.submit

Add the interim condition to avoid the error
frontend: Add the interim condition to avoid the error

hyoshida/comable,hyoshida/comable,appirits/comable,appirits/comable,appirits/comable,hyoshida/comable