first commit
This commit is contained in:
18
Modules/Office/resources/views/deposits/create.blade.php
Normal file
18
Modules/Office/resources/views/deposits/create.blade.php
Normal file
@ -0,0 +1,18 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="page-content">
|
||||
<div class="container-fluid">
|
||||
|
||||
<!-- start page title -->
|
||||
@include('layouts.partials.breadcrumb', ['title' => $title])
|
||||
|
||||
<!-- end page title -->
|
||||
{{ html()->form('POST')->route('deposit.store')->class(['needs-validation'])->attributes(['novalidate'])->open() }}
|
||||
|
||||
@include('office::deposits.partials.action')
|
||||
|
||||
{{ html()->form()->close() }}
|
||||
|
||||
</div>
|
||||
@endsection
|
23
Modules/Office/resources/views/deposits/edit.blade.php
Normal file
23
Modules/Office/resources/views/deposits/edit.blade.php
Normal file
@ -0,0 +1,23 @@
|
||||
@extends('layouts.app')
|
||||
@section('content')
|
||||
<div class="page-content">
|
||||
<div class="container-fluid">
|
||||
|
||||
<!-- start page title -->
|
||||
@include('layouts.partials.breadcrumb', ['title' => $title])
|
||||
|
||||
<!-- end page title -->
|
||||
|
||||
<div class='card'>
|
||||
<div class='card-body'>
|
||||
|
||||
{{ html()->modelForm($deposit, 'PUT')->route('deposit.update', $deposit->id)->class(['needs-validation'])->attributes(['novalidate'])->open() }}
|
||||
|
||||
@include('office::deposits.partials.action')
|
||||
|
||||
{{ html()->form()->close() }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
81
Modules/Office/resources/views/deposits/index.blade.php
Normal file
81
Modules/Office/resources/views/deposits/index.blade.php
Normal file
@ -0,0 +1,81 @@
|
||||
@extends('layouts.app')
|
||||
@section('content')
|
||||
<div class="page-content">
|
||||
<div class="container-fluid">
|
||||
|
||||
<!-- start page title -->
|
||||
@include('layouts.partials.breadcrumb', ['title' => $title])
|
||||
|
||||
<!-- end page title -->
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header align-items-center d-flex">
|
||||
<h5 class="card-title flex-grow-1 mb-0">{{ $title }}</h5>
|
||||
<div class="flex-shrink-0">
|
||||
<a href="{{ route('deposit.create') }}" class="btn btn-success waves-effect waves-light"><i
|
||||
class="ri-add-fill me-1 align-bottom"></i> Create Deposit</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table id="buttons-datatables" class="display table-sm table-bordered table">
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th class="tb-col"><span class="overline-title">S.N</span></th>
|
||||
<th class="tb-col"><span class="overline-title">Voucher</span></th>
|
||||
<th class="tb-col"><span class="overline-title">Deposit Title</span></th>
|
||||
<th class="tb-col"><span class="overline-title">Party</span></th>
|
||||
<th class="tb-col"><span class="overline-title">Amount</span></th>
|
||||
<th class="tb-col"><span class="overline-title">Deposit Date</span></th>
|
||||
<th class="tb-col"><span class="overline-title">Deposit By</span></th>
|
||||
<th class="tb-col"><span class="overline-title">Status</span></th>
|
||||
<th class="tb-col" data-sortable="false"><span class="overline-title">Action</span>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@foreach ($depositLists as $index => $item)
|
||||
<tr>
|
||||
<td class="tb-col">{{ $index + 1 }}</td>
|
||||
<td class="tb-col">{{ $item->voucher }}</td>
|
||||
<td class="tb-col">{{ $item->title }}</td>
|
||||
<td class="tb-col">{{ $item->party }}</td>
|
||||
<td class="tb-col">{{ $item->total_amount }}</td>
|
||||
<td class="tb-col">{{ $item->deposited_date }}</td>
|
||||
<td class="tb-col">{{ $item->deposited_by }}</td>
|
||||
<td class="tb-col">{{ $item->status }}</td>
|
||||
<td class="tb-col">
|
||||
<div class="dropdown d-inline-block">
|
||||
<button class="btn btn-soft-secondary btn-sm dropdown" type="button" data-bs-toggle="dropdown"
|
||||
aria-expanded="false">
|
||||
<i class="ri-more-fill align-middle"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu dropdown-menu-end">
|
||||
<li><a href="{{ route('deposit.show', [$item->id]) }}" class="dropdown-item"><i
|
||||
class="ri-eye-fill text-muted me-2 align-bottom"></i> View</a>
|
||||
</li>
|
||||
|
||||
<li><a href="{{ route('deposit.edit', [$item->id]) }}"
|
||||
class="dropdown-item edit-item-btn"><i
|
||||
class="ri-pencil-fill text-muted me-2 align-bottom"></i>
|
||||
Edit</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="{{ route('deposit.destroy', [$item->id]) }}"
|
||||
class="dropdown-item remove-item-btn" onclick="confirmDelete(this.href)">
|
||||
<i class="ri-delete-bin-fill text-muted me-2 align-bottom"></i> Delete
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
@ -0,0 +1,257 @@
|
||||
<div class="row gy-2">
|
||||
|
||||
<div class="col-md-9">
|
||||
|
||||
<div class='card'>
|
||||
|
||||
<div class='card-body'>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-8">
|
||||
<div class="row gy-3">
|
||||
<div class="col-lg-8 col-md-6">
|
||||
{{ html()->label('Title')->class('form-label') }}
|
||||
{{ html()->text('title')->class('form-control')->placeholder('Title')->required()}}
|
||||
{{ html()->div('Please Fill Title')->class('invalid-feedback') }}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-lg-4 col-md-6">
|
||||
{{ html()->label('Deposit Date')->class('form-label') }}
|
||||
{{ html()->date('deposited_date')->class('form-control')->placeholder('Deposit Date')->required() }}
|
||||
{{ html()->div('Please Fill deposited date')->class('invalid-feedback') }}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
{{ html()->label('Account Number')->class('form-label') }}
|
||||
{{ html()->text('account_no')->class('form-control')->placeholder('Account Number')->required() }}
|
||||
{{ html()->div('Please Fill Account Number')->class('invalid-feedback') }}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
{{ html()->label('Amount')->class('form-label') }}
|
||||
{{ html()->number('total_amount')->class('form-control')->placeholder('Total Amount in Rs')->required() }}
|
||||
{{ html()->div('Please Fill total amount')->class('invalid-feedback') }}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
{{ html()->label('Amount in Words')->class('form-label') }}
|
||||
{{ html()->text('amount_in_words')->class('form-control')->placeholder('Amount in words')->required() }}
|
||||
{{ html()->div('Please fill amount in words')->class('invalid-feedback') }}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
{{ html()->label('Deposited By')->class('form-label') }}
|
||||
{{ html()->text('deposited_by')->class('form-control')->placeholder('Deposited By')->required()}}
|
||||
{{ html()->div('Please fill deposited by')->class('invalid-feedback') }}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
{{ html()->label('Party Name')->class('form-label') }}
|
||||
{{ html()->text('party')->class('form-control')->placeholder('Party Name')->required() }}
|
||||
{{ html()->div('Please fill party name')->class('invalid-feedback') }}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
{{ html()->label('Received By (In any)')->class('form-label') }}
|
||||
{{ html()->text('received_by')->class('form-control')->placeholder('Check/Cash Received By')->required() }}
|
||||
{{ html()->div('Please fill received by')->class('invalid-feedback') }}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-md-12">
|
||||
{{ html()->label('Description')->class('form-label') }}
|
||||
{{ html()->textarea('description')->class('form-control')->placeholder('Purpose of Deposit')->attributes(['rows' => 3]) }}
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-md-12">
|
||||
{{ html()->label('Remarks')->class('form-label') }}
|
||||
{{ html()->textarea('remarks')->class('form-control')->attributes(['rows' => 3]) }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<table class="table table-bordered rounded-2">
|
||||
<thead>
|
||||
<tr class="table-dark text-white text-center">
|
||||
<th colspan="2">Cash Deposit</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1000 x</td>
|
||||
<td width=60% >
|
||||
{{html()->number('thousand')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>500 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('five_hundred')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>100 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('hundred')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>50 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('fifty')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>20 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('twenty')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>10 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('ten')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('five')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>2 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('two')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>1 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('one')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
{{-- <div class="card">
|
||||
<div class="card-body">
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr class="table-dark text-white text-center">
|
||||
<th colspan="2">Cash Deposit</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1000 x</td>
|
||||
<td width=60% >
|
||||
{{html()->number('thousand')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>500 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('five_hundred')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>100 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('hundred')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>50 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('fifty')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>20 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('twenty')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>10 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('ten')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>5 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('five')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>2 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('two')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>1 x</td>
|
||||
<td width=60%>
|
||||
{{html()->number('one')->class('form-control form-control-sm')}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
<div class="card">
|
||||
|
||||
<div class="card-header">
|
||||
<h6 class="card-title mb-0">Document</h6>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<input name="voucher" type="file" class="dropify" />
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<x-form-buttons :editable="$editable" label="Add Deposit" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@push('js')
|
||||
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
|
||||
@endpush
|
48
Modules/Office/resources/views/deposits/show.blade.php
Normal file
48
Modules/Office/resources/views/deposits/show.blade.php
Normal file
@ -0,0 +1,48 @@
|
||||
@extends('layouts.app')
|
||||
@section('content')
|
||||
<div class="page-content">
|
||||
<div class="container-fluid">
|
||||
|
||||
<!-- start page title -->
|
||||
@include('layouts.partials.breadcrumb', ['title' => $title])
|
||||
|
||||
<!-- end page title -->
|
||||
|
||||
<div class='card'>
|
||||
<div class="card-header align-items-center d-flex">
|
||||
<h5 class="card-title flex-grow-1 mb-0">View Detail</h5>
|
||||
<div class="flex-shrink-0">
|
||||
<a href="{{ route('designations.index') }}" class="btn btn-success waves-effect waves-light"><i
|
||||
class="ri-add-fill me-1 align-bottom"></i> Back to List</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='card-body'>
|
||||
<p><b>Title : </b> <span>{{ $data->title }}</span></p>
|
||||
<p><b>Alias : </b> <span>{{ $data->alias }}</span></p>
|
||||
<p><b>Status : </b> <span
|
||||
class="{{ $data->status == 1 ? 'text-success' : 'text-danger' }}">{{ $data->status == 1 ? 'Active' : 'Inactive' }}</span>
|
||||
</p>
|
||||
<p><b>Remarks : </b> <span>{{ $data->remarks }}</span></p>
|
||||
<p><b>Display Order : </b> <span>{{ $data->display_order }}</span></p>
|
||||
<p><b>Createdby : </b> <span>{{ $data->createdby }}</span></p>
|
||||
<p><b>Updatedby : </b> <span>{{ $data->updatedby }}</span></p>
|
||||
<p><b>Job Description : </b> <span>{{ $data->job_description }}</span></p>
|
||||
<p><b>Departments Id : </b> <span>{{ $data->departments_id }}</span></p>
|
||||
<div class="d-flex justify-content-between">
|
||||
<div>
|
||||
<p><b>Created On :</b> <span>{{ $data->created_at }}</span></p>
|
||||
<p><b>Created By :</b> <span>{{ $data->createdBy }}</span></p>
|
||||
</div>
|
||||
<div>
|
||||
<p><b>Updated On :</b> <span>{{ $data->updated_at }}</span></p>
|
||||
<p><b>Updated By :</b> <span>{{ $data->updatedBy }}</span></p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endSection
|
Reference in New Issue
Block a user