Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 5043-mock_Date
This commit is contained in:
commit
d2b21d401a
|
@ -24,36 +24,42 @@
|
||||||
</vn-textfield>
|
</vn-textfield>
|
||||||
<vn-input-number
|
<vn-input-number
|
||||||
type="number"
|
type="number"
|
||||||
|
step="0.01"
|
||||||
label="Minimum M3"
|
label="Minimum M3"
|
||||||
ng-model="supplierAgencyTerm.minimumM3"
|
ng-model="supplierAgencyTerm.minimumM3"
|
||||||
rule>
|
rule>
|
||||||
</vn-input-number>
|
</vn-input-number>
|
||||||
<vn-input-number
|
<vn-input-number
|
||||||
type="number"
|
type="number"
|
||||||
|
step="0.01"
|
||||||
label="Package Price"
|
label="Package Price"
|
||||||
ng-model="supplierAgencyTerm.packagePrice"
|
ng-model="supplierAgencyTerm.packagePrice"
|
||||||
rule>
|
rule>
|
||||||
</vn-input-number>
|
</vn-input-number>
|
||||||
<vn-input-number
|
<vn-input-number
|
||||||
type="number"
|
type="number"
|
||||||
|
step="0.01"
|
||||||
label="Km Price"
|
label="Km Price"
|
||||||
ng-model="supplierAgencyTerm.kmPrice"
|
ng-model="supplierAgencyTerm.kmPrice"
|
||||||
rule>
|
rule>
|
||||||
</vn-input-number>
|
</vn-input-number>
|
||||||
<vn-input-number
|
<vn-input-number
|
||||||
type="number"
|
type="number"
|
||||||
|
step="0.01"
|
||||||
label="M3 Price"
|
label="M3 Price"
|
||||||
ng-model="supplierAgencyTerm.m3Price"
|
ng-model="supplierAgencyTerm.m3Price"
|
||||||
rule>
|
rule>
|
||||||
</vn-input-number>
|
</vn-input-number>
|
||||||
<vn-input-number
|
<vn-input-number
|
||||||
type="number"
|
type="number"
|
||||||
|
step="0.01"
|
||||||
label="Route Price"
|
label="Route Price"
|
||||||
ng-model="supplierAgencyTerm.routePrice"
|
ng-model="supplierAgencyTerm.routePrice"
|
||||||
rule>
|
rule>
|
||||||
</vn-input-number>
|
</vn-input-number>
|
||||||
<vn-input-number
|
<vn-input-number
|
||||||
type="number"
|
type="number"
|
||||||
|
step="0.01"
|
||||||
label="Minimum Km"
|
label="Minimum Km"
|
||||||
ng-model="supplierAgencyTerm.minimumKm"
|
ng-model="supplierAgencyTerm.minimumKm"
|
||||||
rule>
|
rule>
|
||||||
|
|
|
@ -24,7 +24,7 @@ module.exports = Self => {
|
||||||
if (typeof options == 'object')
|
if (typeof options == 'object')
|
||||||
Object.assign(myOptions, options);
|
Object.assign(myOptions, options);
|
||||||
|
|
||||||
let statesList = await models.State.find({where: filter.where}, myOptions);
|
let statesList = await models.State.find(filter, myOptions);
|
||||||
const isProduction = await models.Account.hasRole(userId, 'production', myOptions);
|
const isProduction = await models.Account.hasRole(userId, 'production', myOptions);
|
||||||
const isSalesPerson = await models.Account.hasRole(userId, 'salesPerson', myOptions);
|
const isSalesPerson = await models.Account.hasRole(userId, 'salesPerson', myOptions);
|
||||||
const isAdministrative = await models.Account.hasRole(userId, 'administrative', myOptions);
|
const isAdministrative = await models.Account.hasRole(userId, 'administrative', myOptions);
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h1 class="title centered uppercase">{{$t('title')}}</h1>
|
<h1 class="title centered uppercase">{{$t('title')}}</h1>
|
||||||
<p class="centered">
|
<p class="centered">
|
||||||
Recibo de <strong class="uppercase">{{client.socialName}}</strong>, la cantidad de
|
Recibo de <strong class="uppercase">{{client.socialName}}</strong>,
|
||||||
<strong>{{receipt.amountPaid}} €</strong> en concepto de 'entrega a cuenta', quedando pendiente en
|
la cantidad de <strong>{{receipt.amountPaid}} €</strong>
|
||||||
la cuenta del cliente un saldo de <strong>{{receipt.amountUnpaid}} €</strong>.
|
en concepto de 'entrega a cuenta'.
|
||||||
</p>
|
</p>
|
||||||
<div class="signature">
|
<div class="signature">
|
||||||
<img v-bind:src="getReportSrc('signature.png')" />
|
<img v-bind:src="getReportSrc('signature.png')" />
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
SELECT
|
SELECT
|
||||||
r.id,
|
r.id,
|
||||||
r.amountPaid,
|
r.amountPaid,
|
||||||
cr.amount AS amountUnpaid,
|
|
||||||
r.payed,
|
r.payed,
|
||||||
r.companyFk
|
r.companyFk
|
||||||
FROM receipt r
|
FROM receipt r
|
||||||
|
|
Loading…
Reference in New Issue