{% extends 'Market3wSiteBundle::backendLayout.html.twig' %}

{% block content %}
<div class="fixed_content">
    <a class="intranet_button" href="{{ path( 'client_show', {'id':client.id} ) }}">Retour</a>
</div>
<div class="billing_field">
    <div class="fixed_content">
        <h1>Client</h1>
        <p>
            <span>Prénom : </span><span class="firstName"> {{ client.firstName }} </span>
        </p>
        <p>
            <span>Nom : </span><span class="lastName"> {{ client.lastName }} </span>
        </p>
        <p> Société : {{ client.company.name }}     </p>
        
        <h1>Devis</h1>
	{% include 'Market3wSiteBundle:Intranet/Bill:_listEstimate.html.twig' with { 'view': 'wm' } %}

        <h1>Factures</h1>
        {% include 'Market3wSiteBundle:Intranet/Bill:_listBill.html.twig' with { 'view': 'wm' } %}
    </div>
</div>
{% endblock %}
{% extends 'Market3wSiteBundle::backendLayout.html.twig' %}

{% block content %}
<div class="fixed_content">
    <a class="intranet_button" href="{{ path( 'client_show', {'id':client.id} ) }}">Retour</a>
    <a class="intranet_button" href="{{ path('intranet_client_bill_add', { 'idClient': client.id, 'type': 'estimate' } ) }}">Nouveau devis </a>
    <a class="intranet_button" href="{{ path('intranet_client_bill_add', { 'idClient': client.id, 'type': 'bill' } ) }}">Nouvelle facture</a>

</div>
<div class="billing_field">
    <div class="fixed_content">
        <h1>Client</h1>
        <p>
            <span>Prénom : </span><span class="firstName"> {{ client.firstName }} </span>
        </p>
        <p>
            <span>Nom : </span><span class="lastName"> {{ client.lastName }} </span>
        </p>
        <p> Société : {{ client.company.name }}     </p>
        
        <h1>Devis</h1>
	{% include 'Market3wSiteBundle:Intranet/Bill:_listEstimate.html.twig' with { 'view': 'wm' } %}

        <h1>Factures</h1>
        {% include 'Market3wSiteBundle:Intranet/Bill:_listBill.html.twig' with { 'view': 'wm' } %}
    </div>
</div>
{% endblock %}
Add bill and estimate button on billing view for web-marketeur
Add bill and estimate button on billing view for web-marketeur