StocksNew/Modules/Office/resources/views/deposits/partials/action.blade.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

258 lines
11 KiB
PHP

<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