@extends('super_admin.layouts.master') @section('title', 'All Pricing History') @section('page_title', 'All Pricing History') @section('content')

All Pricing History

Price changes across all plans

Complete Change Log

@forelse($histories as $history) @empty @endforelse
Plan Date Change Monthly Yearly Reason By
{{ $history->planPricing->plan_name ?? $history->plan_key }}
{{ $history->created_at->format('M d, Y') }}
{{ $history->created_at->format('h:i A') }}
@if($history->change_type === 'increase') @elseif($history->change_type === 'decrease') @else @endif ₹{{ number_format($history->old_monthly_price) }} ₹{{ number_format($history->new_monthly_price) }} @if($history->old_yearly_price || $history->new_yearly_price) ₹{{ number_format($history->old_yearly_price ?? 0) }} ₹{{ number_format($history->new_yearly_price ?? 0) }} @else - @endif

{{ Str::limit($history->change_reason, 40) }}

{{ $history->changedBy->name ?? 'Unknown' }}

No price changes found.

@if($histories->hasPages())
{{ $histories->links() }}
@endif
@endsection