@extends('dashboard.admin.layouts.master') @section('content')
| {{ trans('clinic.common.name') }} | {{ trans('clinic.clinics.title') }} | {{ trans('clinic.offers.discount_type') }} | {{ trans('clinic.offers.period') }} | {{ trans('clinic.common.status') }} | {{ trans('clinic.common.actions') }} |
|---|---|---|---|---|---|
| {{ $record->title }} | {{ $record->branch?->name ?? trans('clinic.offers.platform_wide') }} | {{ trans('clinic.offers.'.$record->discount_type) }} — {{ $record->discount_type === 'percentage' ? $record->discount_value.'%' : number_format((float) $record->discount_value, 2) }} | {{ $record->starts_at->format('Y-m-d') }} → {{ $record->ends_at->format('Y-m-d') }} | @if($record->is_active) {{ trans('clinic.common.active') }} @else {{ trans('clinic.offers.inactive') }} @endif | @if ($manageable) @can('clinic.offers.edit') {{ trans('core.common.edit') }} @endcan @can('clinic.offers.delete') @endcan @endif |
| {{ trans('clinic.common.no_records') }} | |||||