@extends('admin.layouts.layout') @section('title', 'View Discount Coupon: ' . $discountCoupon->code) @section('content')
| Service | Discount Type | Discount Value | Formatted Discount |
|---|---|---|---|
| @if($rule->service) {{ $rule->service->service_name }} @else All Services @endif | {{ $rule->discount_type }} | {{ $rule->discount_value }} | @if($rule->discount_type === 'Percentage') {{ $rule->discount_value }}% @else ${{ number_format($rule->discount_value, 2) }} @endif |