<div wire:ignore.self class="modal fade" tabindex="-1" role="dialog" id="modal-add-signature">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header bg-primary">
                <h5 class="modal-title">
                <b>AGREGAR 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 my-4">
                <div class="col-lg-12 col-md-12 col-sm-12">
                    <div class="form-group">
                        <label class="" for="">Firma:</label>
                        <br>
                        <canvas id="signature" width="350" height="180" style="border: 1px solid #ddd;"></canvas>

                        <textarea id="signature64" name="signature_company" style="display: none" wire:model.lazy="signature_company"></textarea>

                    </div>
                    <button id="clear" class="btn btn-outline-danger btn-sm">Limpiar Firma</button>
                </div>

            </div>

        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-outline-primary" data-bs-dismiss="modal">CERRAR</button>
            <button type="button" class="btn btn-primary close-modal" id="saveSignature" wire:click="saveSignature()">GUARDAR FIRMA</button>
        </div>
    </div>
</div>
</div>
