@extends('layouts.app') @section('title', 'Planos - Administracao - ERP-PLUS') @section('page_title', 'Planos') @section('page_subtitle', 'Gerenciamento de planos de assinatura.') @section('page_actions') Novo plano @endsection @section('content')
@forelse ($plans as $plan) @empty @endforelse
Nome Codigo Valor Teste (dias) Ciclo (dias) Assinaturas Ativo
{{ $plan->name }} {{ $plan->code }} R$ {{ number_format((float) $plan->price, 2, ',', '.') }} {{ $plan->trial_days }} {{ $plan->billing_cycle }} {{ $plan->subscriptions_count }} {{ $plan->is_active ? 'SIM' : 'NAO' }}
Editar @if ($plan->subscriptions_count === 0)
@csrf @method('DELETE')
@endif
Nenhum plano cadastrado.
@endsection