overview.blade.php 2.74 KB
<table class="table table-striped table-hover">
    <tr>
        <th>租借景点</th>
        <td><?= $info[0]->spotname ?></td>
    </tr>

    <tr>
        <th>租借机柜号</th>
        <td><?= $info[0]->mac_no ?></td>
    </tr>

    <tr>
        <th>租借类型</th>
        <td>
            <?php if ($info[0]->rent_type == 1) { ?>
                现场租借
            <?php } else { ?>
                预约租借
            <?php } ?>
        </td>
    </tr>

    <tr>
        <th>租借单号</th>
        <td><?= $info[0]->power_no ?></td>
    </tr>

    <tr>
        <th>租借充电宝编号</th>
        <td><?= $info[0]->rent_no ?></td>
    </tr>

    <tr>
        <th>租借仓口号</th>
        <td><?= $info[0]->rent_hatch_no ?></td>
    </tr>

    <tr>
        <th>租借数量</th>
        <td><?= $info[0]->number ?></td>
    </tr>

    <tr>
        <th>租金(每天价格)(单位/元)</th>
        <td><?= $info[0]->one_day_price*0.01 ?></td>
    </tr>

    <tr>
        <th>应收金额(单位/元)</th>
        <td><?= $info[0]->total *0.01?></td>
    </tr>

    <tr>
        <th>实收金额</th>
        <td><?= $info[0]->real_total *0.01 ?></td>
    </tr>

    <tr>
        <th>租借时间</th>
        <td><?= $info[0]->add_time ?></td>
    </tr>

    <tr>
        <th>归还时间</th>
        <td><?= $info[0]->return_time ?></td>
    </tr>

    <tr>
        <th>是否归还</th>
        <td>
            <?php if ($info[0]->is_return == 1) { ?>
                归还
            <?php } else { ?>
                未归还
            <?php } ?>
        </td>
    </tr>

    <tr>
        <th>是否退款</th>
        <td>
            <?php if($info[0]->refund_no){?>
                已退款
            <?php }else{?>
                未退款
            <?php }?>
        </td>
    </tr>

    <tr>
        <th>退款单号</th>
        <td><?= $info[0]->refund_no ?></td>
    </tr>
    <tr>
        <th>用户名</th>
        <td><?= $info[0]->nick_name ?></td>
    </tr>
    <tr>
        <th>用户手机号</th>
        <td><?= $info[0]->phone?></td>
    </tr>
</table>

{{--<div class="box box-success">--}}
    {{--<div class="box-body">--}}
        {{--<a href="#"--}}
           {{--data-method="delete"--}}
           {{--data-trans-button-cancel="{{trans('buttons.general.cancel')}}"--}}
           {{--data-trans-button-confirm="{{trans('buttons.general.crud.delete')}}"--}}
           {{--data-trans-title= "{{trans('strings.backend.general.are_you_sure')}}"--}}
           {{--class="btn btn-xs btn-danger"><i class="fa fa-times" data-toggle="tooltip" data-placement="top" title="{{trans('buttons.general.crud.delete')}}"></i></a>';--}}
        {{--<div class="clearfix"></div>--}}
    {{--</div><!-- /.box-body -->--}}
{{--</div><!--box-->--}}