bug fixes, senderID polishing, support fees, paperless partial

This commit is contained in:
Kwesi Banson
2024-07-02 09:25:00 +00:00
parent 318fddbff0
commit edb78d1bfc
116 changed files with 1488 additions and 368 deletions

View File

@@ -6,12 +6,13 @@
<th class="column-title">Invoice Number</th>
<th class="column-title">Invoice Amount</th>
<th class="column-title">Invoice Date</th>
<th class="column-title">Services</th>
<th class="column-title">Services</th>
<th class="column-title">Short Code</th>
<th class="column-title">Remarks</th>
<th class="column-title">Status</th>
<th class="column-title no-link last"><span class="nobr">Action</span>
</th>
</tr>
</thead>
<tbody>
@@ -26,6 +27,7 @@
<td class="mes-td col-md-1">{{ $row->invoice_amount }}</td>
<td class="mes-td col-md-2">{{ date('d-m-Y', strtotime($row->invoice_date)) }}</td>
<td class="mes-td col-md-3">{{ $row->services }} </td>
<td class="mes-td col-md-3">{{ $row->short_code or 'N/A' }} </td>
<td class="mes-td col-md-3" style="width: 100px;">{{ $row->remarks }}</td>
<td class="mes-td col-md-1"><span class="label label-<?php echo ($row->invoice_status == 'PAID') ? 'success' : 'danger'; ?>"> {{ $row->invoice_status }}</span></td>
<td class="last col-md-1" style="width: 100px;">
@@ -40,4 +42,4 @@
</tbody>
</table>
</div>
</div>
</div>

View File

@@ -0,0 +1,44 @@
<div>
<div class="table-responsive">
<table class="table table-striped table-condensed table-bordered">
<thead>
<tr class="headings">
<th class="column-title">Services</th>
<th class="column-title">Invoice Number</th>
<th class="column-title">Invoice Date</th>
<th class="column-title">Recurring</th>
<th class="column-title">Status</th>
<th class="column-title">Remarks</th>
<th class="column-title no-link last"><span class="nobr">Action</span>
</th>
</tr>
</thead>
<tbody>
@if ($support_fees->isEmpty())
<tr>
<td class="" colspan="12">No Records found</td>
</tr>
@else
@foreach ($support_fees as $row)
<tr class="even pointer">
<td class="mes-td col-md-3">{{ $row->services }} </td>
<td class="mes-td col-md-1">{{ $row->invoice_number }}</td>
<td class="mes-td col-md-2">{{ date('d-m-Y', strtotime($row->invoice_date)) }}</td>
<td class="mes-td col-md-1">{{ $row->recurring }}</td>
<td class="mes-td col-md-1"><span class="label label-<?php echo ($row->status == 'SENT') ? 'success' : 'danger'; ?>"> {{ $row->status }}</span></td>
<td class="mes-td col-md-3" style="width: 100px;">{{ $row->remarks }}</td>
<td class="last col-md-1" style="width: 100px;">
<span>
<input type="hidden" name="support_entry_id" value="{{ $row->id }}" class="supportEntryRowId">
<a href="" class="btn btn-xs btn-primary supportEntryEditBtn"><i class="fa fa-edit"></i></a>
</span>
</td>
</tr>
@endforeach
@endif
</tbody>
</table>
</div>
</div>

View File

@@ -0,0 +1,81 @@
<div class="modal fade" id="supportFeesFormModal" tabindex="-1" role="dialog" aria-labelledby="supportModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<!-- <h4 class="modal-title">Default Modal</h4> -->
<h5 class="modal-title text-center" id="supportModalLabelHeading">Support Fees Details</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="hidden" id="SupportNotifyArea"></div>
<form class="form-vertical" method="POST" id="supportFeesEntryForm" action="{{ url('clients/support_store') }}">
{{ csrf_field() }}
<input type="hidden" name="client_id" id="clientIDSupport" value="{{ $showclient->id }}">
<div class="row">
<div class="form-group">
<div class="col-md-12">
<label for="financeServicesStore">Services *</label>
{!! Form::select('services[]', $service_type_names , old('services'), ['class' => 'form-control' , 'id' => 'SupportFeesServices', 'required' => 'required', 'multiple'=> 'true', 'style' => 'width: 100%']) !!}
</div>
</div>
<div class="form-group" >
<div class="col-md-12" style="padding-bottom: 5px;">
<label for="invoiceNumber">Invoice Number *</label>
<input type="text" class="form-control" name="invoice_number" id="invoiceNumberSupport" required >
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<div class='input-group date' id='myDatepicker2' style="padding-bottom: 5px;">
<label for="invoiceDate">Invoice Date *</label>
<input type="text" class="form-control" name="invoice_date" id="invoiceDateSupport" required >
<div class="input-group-addon">
<span class="fa fa-calendar"></span>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-12" style="padding-bottom: 5px">
<label for="invoiceStatus">Status *</label>
{!! Form::select('status', [ 'SENT' => 'SENT', 'NOT SENT' => 'NOT SENT'] , old('services'), ['class' => 'form-control' , 'id' => 'SupportStatus', 'required' => 'required', 'placeholder' => '', 'style' => 'width: 100%']) !!}
</div>
</div>
<div class="form-group">
<div class="col-md-12" style="padding-bottom: 5px">
<label for="invoiceStatus">Recurring *</label>
{!! Form::select('recurring', $recurring_arr , old('recurring'), ['class' => 'form-control' , 'id' => 'supportRecurring', 'required' => 'required', 'placeholder' => '', 'style' => 'width: 100%']) !!}
</div>
</div>
<div class="form-group" >
<div class="col-md-12" style="padding-bottom: 5px;">
<label for="remarks">Remarks</label>
<input type="text" class="form-control" name="remarks" id="remarksSupport"></textarea>
</div>
</div>
<div class="form-group" style="margin-bottom: 0.2rem; padding-bottom: 5px; padding-top: 5px;">
<div class="col-md-12" style="padding-bottom: 10px;">
<button type="submit" class="btn btn-success btn-block supportFeesSubmitBtn"> <i class="fa fa-send"></i> Submit</button>
</div>
</div>
<div class="form-group" style="margin-bottom: 0.5rem; padding-bottom: 5px; padding-top: 5px;">
<div class="col-md-12">
<button type="button" class="btn btn-dark btn-block" data-dismiss="modal"><i class="fa fa-close"></i> Close</button>
</div>
</div>
</div>
</form>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->