@extends('layouts.admin') @section('title', $coupon ? __('Edit coupon') : __('New coupon')) @section('content') @php $c = $coupon; $dt = fn ($v) => $v ? \Illuminate\Support\Carbon::parse($v)->format('Y-m-d\TH:i') : ''; @endphp ← {{ __('Coupons') }}