<div wire:ignore.self class="modal fade" tabindex="-1" role="dialog" id="modal-upload-signature">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header bg-primary">
                <h5 class="modal-title">
                <b>SUBIR FIRMA </b> REPRESENTANTE LEGAL
                </h5>
                <h6 class="text-center text-warning" wire:loading>ESPERE UN MOMENTO POR FAVOR</h6>
            </div>
        <div class="modal-body">
            <div class="row">
                <div class="col-sm-12 col-md-12">
                    <div class="form-group">
                        <label>Firma</label>
                        <small class="text-muted">(Formatos: .jpg | .png ) Tamaño (350px x 180px)</small>
                        <input type="file" wire:model="signature_upload" class="form-control" accept=".png, .jpg">
                        @error('signature_upload')
                            <span class="text-danger er">{{ $message }}</span>
                        @enderror
                    </div>
                </div>
            </div>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-outline-primary" wire:click.prevent="resetUI()" data-bs-dismiss="modal">CERRAR</button>
                <button type="button" class="btn btn-primary close-modal" wire:click.prevent="uploadSignature()">GUARDAR FIRMA</button>
        </div>
    </div>
</div>
</div>

