refs #4547 informe y email generados #1114

Merged
alexandre merged 6 commits from 4547-informe-compensacion into dev 2022-11-09 12:34:36 +00:00
Contributor
No description provided.
alexandre added 1 commit 2022-10-28 12:52:37 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
1246a65f32
refs #4547 informe y email generados
alexandre requested review from joan 2022-10-28 12:55:42 +00:00
alexandre added the
CR / Tests passed
label 2022-10-28 12:55:58 +00:00
joan requested changes 2022-11-02 12:53:54 +00:00
@ -0,0 +1,40 @@
const {Email} = require('vn-print');
module.exports = Self => {
Self.remoteMethodCtx('debBalancesCompEmail', {
Contributor

Mejor balanceCompensationEmail. en general no solemos utilizar abreviaturas

Mejor balanceCompensationEmail. en general no solemos utilizar abreviaturas
@ -0,0 +31,4 @@
const email = new Email('deb-balances-comp', {
lang: ctx.req.getLocale(),
recipient: client.name+',administracion@verdnatura.es',
Contributor

A la espera de que a javi le confirmen

A la espera de que a javi le confirmen
@ -0,0 +1,50 @@
const { Report } = require('vn-print');
module.exports = Self => {
Self.remoteMethodCtx('debBalancesCompPdf', {
Contributor

Mejor balanceCompensationPdf. en general no solemos utilizar abreviaturas

Mejor balanceCompensationPdf. en general no solemos utilizar abreviaturas
@ -0,0 +1,6 @@
[
{
"filename": "deb-balances-comp.pdf",
Contributor

Cambiar nombre

Cambiar nombre
@ -0,0 +15,4 @@
<div class="size50">
<p style="text-align: right;">Algemesí, a {{currentDate()}}</p>
<h3 style="text-align: center; margin-top: 8%;">{{'Compensación de saldos deudores y acreedores' | uppercase}}</h3>
<p style="margin-top: 8%;">De una parte:</p>
Contributor

Añadir traducciones

Añadir traducciones
@ -0,0 +16,4 @@
<p style="text-align: right;">Algemesí, a {{currentDate()}}</p>
<h3 style="text-align: center; margin-top: 8%;">{{'Compensación de saldos deudores y acreedores' | uppercase}}</h3>
<p style="margin-top: 8%;">De una parte:</p>
<p style="text-align: justify;">Verdnatura Levante SL con CIF B-97367486 y domicilio sito en calle Fenollar 2, Valencia.</p>
Contributor

Obtener información de la tabla company

Obtener información de la tabla company
@ -0,0 +27,4 @@
},
props: {
id: {
type: [Number, String],
Contributor

type: Number

type: Number
@ -0,0 +7,4 @@
r.amountPaid,
r.payed
FROM client c
JOIN receipt r ON r.clientFk = c.id
Contributor

tabular joins

tabular joins
alexandre added 1 commit 2022-11-02 12:59:39 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
8d8d217fe7
refs #4547 formateo arreglado
alexandre added 1 commit 2022-11-02 14:54:41 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
908908a643
refs #4547 correcciones
alexandre added 1 commit 2022-11-03 07:08:40 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
84eb87e02a
refs #4547 cambios sql
alexandre requested review from joan 2022-11-03 07:08:56 +00:00
joan requested changes 2022-11-04 06:31:17 +00:00
@ -127,0 +131,4 @@
<vn-confirm
vn-id="send_compensation"
on-accept="$ctrl.sendEmail(balance)"
question="¿Desea informar de la compensacion al cliente por correo?"
Contributor

Falta una traducción aquí. No pueden haber frases en español en el código.

Falta una traducción aquí. No pueden haber frases en español en el código.
alexandre added 1 commit 2022-11-04 07:15:31 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
98dd5963bf
refs #4547 traduccion añadida
alexandre requested review from joan 2022-11-04 07:17:24 +00:00
joan added this to the (deleted) milestone 2022-11-04 08:18:43 +00:00
joan added this to the v9.0.0 - November milestone 2022-11-04 08:24:45 +00:00
joan approved these changes 2022-11-08 07:35:03 +00:00
alexandre added 1 commit 2022-11-09 12:27:14 +00:00
alexandre scheduled this pull request to auto merge when all checks succeed 2022-11-09 12:28:18 +00:00
alexandre requested review from joan 2022-11-09 12:31:54 +00:00
alexandre requested review from vicent 2022-11-09 12:33:13 +00:00
vicent approved these changes 2022-11-09 12:34:20 +00:00
vicent left a comment
Contributor

Este PR ya havia sido revisado, solo se ha merge con dev.

Este PR ya havia sido revisado, solo se ha merge con dev.
alexandre merged commit 175e7b128a into dev 2022-11-09 12:34:36 +00:00
alexandre deleted branch 4547-informe-compensacion 2022-11-09 12:34:36 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix#1114
No description provided.