@switch($status)
    @case(\Modules\Project\Entities\Order::STATUS_DEFAULT)
    待支付
    @break

    @case(\Modules\Project\Entities\Order::STATUS_CANCEL)
    已取消
    @break

    @case(\Modules\Project\Entities\Order::STATUS_PAID)
    <!-- 按钮：用于打开模态框 -->
    已支付 <button
            type="button"
            class="btn btn-primary"
            data-toggle="modal"
            data-id="{{$row['id']}}"
            data-username="{{$address->name}}"
            data-mobile="{{$address->mobile}}"
            data-address="{{$address->area->getArea().   $address->detail}}"
            data-target="#order_delivery"
    >去发货</button>


    @break

    @case(\Modules\Project\Entities\Order::STATUS_SHIPPED)
    已发货
    @break
    @case(\Modules\Project\Entities\Order::STATUS_CONFIRM)
    已确认
    @break
    @case(\Modules\Project\Entities\Order::STATUS_COMPLETE)
    已完成
    @break
@endswitch
