@extends('admin.layouts.app') @section('title', 'Combos / Kits') @section('header', 'Combos / Kits') @section('content')
Novo Combo
Limpar
@forelse($combos as $combo) @empty @endforelse
Combo Produtos Preços Desconto Status Ações
@if($combo->image) {{ $combo->name }} @else
@endif

{{ $combo->name }}

{{ $combo->items->count() }} produto(s)

@foreach($combo->items->take(3) as $item)

{{ $item->product->name }} (x{{ $item->quantity }})

@endforeach @if($combo->items->count() > 3)

+{{ $combo->items->count() - 3 }} outros

@endif

R$ {{ number_format($combo->price, 2, ',', '.') }}

@if($combo->pix_price)

PIX: R$ {{ number_format($combo->pix_price, 2, ',', '.') }}

@endif @if($combo->max_installments > 1)

ou {{ $combo->max_installments }}x de R$ {{ number_format($combo->installment_value, 2, ',', '.') }}

@endif

R$ {{ number_format($combo->original_price, 2, ',', '.') }}

{{ $combo->discount_percentage }}% OFF
@if($combo->is_active) Ativo @else Inativo @endif @if($combo->is_featured) Destaque @endif
@csrf @method('DELETE')
Nenhum combo encontrado.
@if($combos->hasPages())
{{ $combos->appends(request()->query())->links() }}
@endif
@endsection