<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal">&times;</button>
    <h4 class="modal-title">Edit Company Deposit</h4>
</div>

<form id="update_company_deposit_form">
    <div class="modal-body">
        <div class="form-group">
            <label for="name">Amount <span class="text-danger">*</span></label>
            <input type="text" id="name" placeholder="e.g. Loading" value="{{ $deposits->sum('amount') }}"
                   class="form-control" autofocus name="amount">
            <span class="text-danger u_error" id="u_amount_error"></span>
        </div>
    </div>
    <div class="modal-footer">
        @csrf
        <button id="update_btn" class="btn btn-sm btn-info" type="submit">
            Update
        </button>
        <input type="hidden" name="balance_cf" value="{{ $balance_cf }}">
        <input type="hidden" name="trip_id" value="{{ $trip_id }}">
    </div>
</form>
