promotion view UI fixed
This commit is contained in:
parent
24f5710996
commit
07084d227d
|
@ -3,9 +3,11 @@
|
||||||
@section('page_title', 'View Promotion')
|
@section('page_title', 'View Promotion')
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
<div class="container-fluid py-4">
|
||||||
|
<div class="row justify-content-center">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header border-0 bg-transparent">
|
||||||
<h5 class="mb-0 fw-bold text-dark">View Promotion</h5>
|
<h5 class="mb-0">View Promotion</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
@if (session('error'))
|
@if (session('error'))
|
||||||
|
@ -14,12 +16,31 @@
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
<div class="mb-3"><strong>Title:</strong> {{ $promotion['title'] }}</div>
|
<div class="mb-3">
|
||||||
<div class="mb-3"><strong>Type:</strong> {{ $promotion['type'] }}</div>
|
<label class="form-label">Title</label>
|
||||||
<div class="mb-3"><strong>Start Date:</strong> {{ $promotion['startDate'] }}</div>
|
<input type="text" class="form-control" value="{{ $promotion['title'] }}" readonly>
|
||||||
<div class="mb-3"><strong>End Date:</strong> {{ $promotion['endDate'] }}</div>
|
</div>
|
||||||
<div class="mb-3"><strong>Status:</strong> {{ $promotion['status'] }}</div>
|
<div class="mb-3">
|
||||||
<a href="{{ route('promotions') }}" class="btn btn-secondary">Back</a>
|
<label class="form-label">Type</label>
|
||||||
|
<input type="text" class="form-control" value="{{ $promotion['type'] }}" readonly>
|
||||||
|
</div>
|
||||||
|
<div class="mb-3">
|
||||||
|
<label class="form-label">Start Date</label>
|
||||||
|
<input type="text" class="form-control" value="{{ $promotion['startDate'] }}" readonly>
|
||||||
|
</div>
|
||||||
|
<div class="mb-3">
|
||||||
|
<label class="form-label">End Date</label>
|
||||||
|
<input type="text" class="form-control" value="{{ $promotion['endDate'] }}" readonly>
|
||||||
|
</div>
|
||||||
|
<div class="mb-3">
|
||||||
|
<label class="form-label">Status</label>
|
||||||
|
<input type="text" class="form-control" value="{{ $promotion['status'] }}" readonly>
|
||||||
|
</div>
|
||||||
|
<div class="text-end">
|
||||||
|
<a href="{{ route('promotions') }}" class="btn btn-primary">Back</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
@endsection
|
@endsection
|
Loading…
Reference in New Issue