@extends('admin/layouts.master') @section('title', '加值頻道 - 管理員') @section('body')
@include('admin.message')
{{-- --}} @foreach($channels as $parent_id => $item) @if( isset( $item['child'] ) ) @foreach( $item['child'] as $child_channel ) {{-- --}} @endforeach @endif @endforeach
ID {{ __('adminstaticword.Channel') }}圖片 {{ __('adminstaticword.Channel') }}名稱 上層頻道 {{ __('adminstaticword.Channel') }}{{ __('adminstaticword.SalePrice') }}{{ __('adminstaticword.Channel') }}{{ __('adminstaticword.SpecialPrice') }}{{ __('adminstaticword.Status') }} {{ __('adminstaticword.Edit') }} {{ __('adminstaticword.Delete') }}
@if (isset($parent_channel->image)) @else 無上傳圖片 @endif {{$parent_channel->channel_name}} @if ($parent_channel->parent_name == null) 主頻道 @else {{$parent_channel->parent_name}} @endif {{ $parent_channel->channel_price }}
{{ csrf_field() }}
{{ csrf_field() }} {{ method_field('DELETE') }}
@if (isset($child_channel->image)) @else 無上傳圖片 @endif {{$child_channel->channel_name}} -{{$child_channel->parent_name}} n/a
{{ csrf_field() }}
n/a
{{ csrf_field() }} {{ method_field('DELETE') }}
@endsection