@extends('layouts.base') @section('content') @section('title', '广告管理')
累计广告数量:{{$list->total()}}个 累计广告预算: {{$statistics['advertBudgetTotal']}} 元 累计已使用预算: {{$statistics['usedBudgetTotal']}} 元 累计剩余预算: {{$statistics['surplusBudgetTotal']}} 元
注:累计广告预算 = 开启状态广告预算 + 关闭状态已使用预算; 累计剩余预算 = 开启状态广告剩余预算;
@foreach($list as $row) @endforeach
ID 广告名称 广告主 素材 广告类型 广告预算 已使用 剩余预算 投放广告单价 状态 操作
{{$row->id}} {{$row->advert_name}}
{{$row->advertMember->member->nickname}}
{{$row->type_name}} {{$row->advert_budget}}元 @if($row->used_budget){{$row->used_budget}}@else{{0}}@endif元 {{$row->advert_budget - $row->used_budget}}元 {{$row->await_amount}}元
{{$row->payment_amount}}元
{{$row->status_name}}
{!! $pager !!}
@endsection