PHP Classes

File: app/views/teste.php

Recommend this page to a friend!
  Classes of Laudir Bispo   PHP Real Estate Website   app/views/teste.php   Download  
File: app/views/teste.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Real Estate Website
Manage the properties of a real estate business
Author: By
Last change:
Date: 3 years ago
Size: 7,884 bytes
 

Contents

Class file image Download


<button role="button" class="btn btn-primary btn-flat" onClick="printDiv()"><i class="fa fa-print"></i></button>
<div class="clearfix"></div>

<SECTION CLASS="container" id="print">
<div id="container-receipts">

    <div id="doc-receipts" class="center-block">
        <div class="header">
            <div class="pull-left doc-type">RECIBO DE LOCAÇÃO Nº 4008</div>
            <div class="pull-right doc-due-date">VENCIMENTO:18/09/2017</div>
        </div>
       
        <div id="info-property">
            <p>O presente recibo corresponde ao aluguel do imóvel <span class="span-markdow">sdfe32</span>, <span class="span-markdow"> Rua sargento ramiro da silva nº 1587 bairro nossa senhora aparecida</span>, da propriedade de: <span class="span-markdow">jõao pedro antunes da silva morreira</span> portador(a) do cpf/cnpj: <span class="span-markdow">385.185.1110-20</span>, residente e domiciliado na cidade de <span class="span-markdow">capanema-pr.</span></p>
        </div>
       
        <div id="info-values">
           
            <div class="col-md-6 col-sm-6 col-xs-6 no-padding" style="height:2.6cm">
                <p><Strong>Acréscimos:</Strong></p>
                <p></p>
                <p><strong>Descontos:</strong></p>
                <p></p>
            </div>
           
            <div class="col-md-6 col-sm-6 col-xs-6 no-padding" style="height:2.6cm">
                <table class="table table-bordered" id="table-values-receipts">
                    <tbody>
                        <tr>
                            <th scope="row">Valor bruto</th>
                            <td>R$ 700,00</td>
                        </tr>
                        <tr>
                            <th scope="row">Descontos</th>
                            <td>R$ 0,00</td>
                        </tr>
                        <tr>
                            <th scope="row">Acréscimos</th>
                            <td>R$ 0,00</td>
                        </tr>
                        <tr class="bg-gray">
                            <th scope="row">Total</th>
                            <td>R$ 700,00</td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="clearfix" style="clear: both"><br></div>
            <p><strong>Valor do recibo por extenso: </strong> Cento e noventa e quatro mil, trezentos e doze reais ******</p>
           
        </div>
       
        <div class="col-md-12" style="border: 1px solid #999;height:2.3cm; margin-bottom: 0.2cm; font-size: 9pt">
            <p>Recebemos e <span class="span-markdow"> Carlos henrique bernardes </span> portador do cpf/cnpj: <span class="span-markdow">03222818657</span> aluguel ref. locação periodo: 18/09/ a 17/10/2016</p>
            <p>Por ser verdade, assino(amos) o presente para que produza os efeitos legais:</p>
        </div>
       
        <div class="col-md-6 col-sm-6 col-xs-6">
            <img class="pull-left" src="http://iguacuimobiliaria.com.br/assets/img/logo-imobiliaria.png" height="60">
            <DIV class="clearfix"></DIV>
            <small style="font-size: 8pt">Av independência, 1027 - centro - 85760000 - capanema-pr</small>
        </div>
       
        <div class="col-md-6 col-sm-6 col-xs-6">
            <small class="pull-right">capanema, <span class="span-markdow">19</span> de <span class="span-markdow">setembro</span> de <span class="span-markdow">2017</span></small>
            <DIV class="CLEARFIX"></DIV>
            <div id="assinature">
                IMobiliariia iguaçu ltda-me <BR>
                <SMALL>21339466000196</SMALL>
            </div>
        </div>
       
    </div>
   
    <div style="height: 0.5cm;" class="clearfix"></div>
   
   
    <div id="doc-receipts" class="center-block">
        <div class="header">
            <div class="pull-left doc-type">RECIBO DE LOCAÇÃO Nº 4008</div>
            <div class="pull-right doc-due-date">VENCIMENTO:18/09/2017</div>
        </div>
       
        <div id="info-property">
            <p>O presente recibo corresponde ao aluguel do imóvel <span class="span-markdow">sdfe32</span>, <span class="span-markdow"> Rua sargento ramiro da silva nº 1587 bairro nossa senhora aparecida</span>, da propriedade de: <span class="span-markdow">jõao pedro antunes da silva morreira</span> portador(a) do cpf/cnpj: <span class="span-markdow">385.185.1110-20</span>, residente e domiciliado na cidade de <span class="span-markdow">capanema-pr.</span></p>
        </div>
       
        <div id="info-values">
           
            <div class="col-md-6 col-sm-6 col-xs-6 no-padding" style="height:2.6cm">
                <p><Strong>Acréscimos:</Strong></p>
                <p></p>
                <p><strong>Descontos:</strong></p>
                <p></p>
            </div>
           
            <div class="col-md-6 col-sm-6 col-xs-6 no-padding" style="height:2.6cm">
                <table class="table table-bordered" id="table-values-receipts">
                    <tbody>
                        <tr>
                            <th scope="row">Valor bruto</th>
                            <td>R$ 700,00</td>
                        </tr>
                        <tr>
                            <th scope="row">Descontos</th>
                            <td>R$ 0,00</td>
                        </tr>
                        <tr>
                            <th scope="row">Acréscimos</th>
                            <td>R$ 0,00</td>
                        </tr>
                        <tr class="bg-gray">
                            <th scope="row">Total</th>
                            <td>R$ 700,00</td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="clearfix" style="clear: both"><br></div>
            <p><strong>Valor do recibo por extenso: </strong> Cento e noventa e quatro mil, trezentos e doze reais ******</p>
           
        </div>
       
        <div class="col-md-12" style="border: 1px solid #999;height:2.3cm; margin-bottom: 0.2cm; font-size: 9pt">
            <p>Recebemos e <span class="span-markdow"> Carlos henrique bernardes </span> portador do cpf/cnpj: <span class="span-markdow">03222818657</span> aluguel ref. locação periodo: 18/09/ a 17/10/2016</p>
            <p>Por ser verdade, assino(amos) o presente para que produza os efeitos legais:</p>
        </div>
       
        <div class="col-md-6 col-sm-6 col-xs-6">
            <img class="pull-left" src="http://iguacuimobiliaria.com.br/assets/img/logo-imobiliaria.png" height="60">
            <DIV class="clearfix"></DIV>
            <small style="font-size: 8pt">Av independência, 1027 - centro - 85760000 - capanema-pr</small>
        </div>
       
        <div class="col-md-6 col-sm-6 col-xs-6">
            <small class="pull-right">capanema, <span class="span-markdow">19</span> de <span class="span-markdow">setembro</span> de <span class="span-markdow">2017</span></small>
            <DIV class="CLEARFIX"></DIV>
            <div id="assinature">
                IMobiliariia iguaçu ltda-me <BR>
                <SMALL>21339466000196</SMALL>
            </div>
        </div>
       
    </div>
       
</div>
</SECTION>
   
   

<script>
    function printDiv() {
        //pega o Html da DIV
     var divElements = document.getElementById('print').innerHTML;
        //pega o HTML de toda tag Body
        var oldPage = document.body.innerHTML;

        //Alterna o body
        document.body.innerHTML = "<html><head> <title>Tela de impressão</title> </head> <body> " + divElements + "</body>";
        //Imprime o body atual
        window.print();
        //Retorna o conteudo original da página.
        document.body.innerHTML = oldPage;
    }
</script>