@extends('layouts.app', ['title' => 'Products']) @section('content') @php($canManage = auth()->user()->can('payments.manage'))
What you sell: one-time products and services, or subscriptions. Prices are before GST.
| Product | Type | Price | GST | With GST | Sold | |
|---|---|---|---|---|---|---|
{{ $p->name }} @if ($p->hsn_code)HSN/SAC {{ $p->hsn_code }} @endif |
{{ $p->isRecurring() ? 'Subscription, '.$p->interval.'ly' : 'One-time' }}{{ $p->is_active ? '' : ' ยท hidden' }} | {{ money_full($p->price, $p->currency) }} | {{ rtrim(rtrim((string) $p->gst_rate, '0'), '.') }}% | {{ money_full($p->totalPrice(), $p->currency) }} | {{ $p->orders_count }} | @if ($canManage) @endif |