2940-invoiceInTax-section #680

Merged
joan merged 36 commits from 2940-invoiceInTax-section into dev 2021-08-13 06:11:07 +00:00
Owner
No description provided.
jgallego added 11 commits 2021-06-29 07:01:37 +00:00
gitea/salix/pipeline/head This commit looks good Details
8878a2280a
models
gitea/salix/pipeline/head This commit looks good Details
acf03959f5
creada seccion invoiceInTax
gitea/salix/pipeline/head This commit looks good Details
44ce54ede4
seccion en summary
gitea/salix/pipeline/head This commit looks good Details
5369e8d97e
Merge branch 'dev' into 2940-invoiceInTax-section
gitea/salix/pipeline/head This commit looks good Details
500b68162b
summary con chip
gitea/salix/pipeline/head This commit looks good Details
dc0212d2fc
chip
gitea/salix/pipeline/head This commit looks good Details
a6c093cf16
Merge branch 'dev' into 2940-invoiceInTax-section
gitea/salix/pipeline/head This commit looks good Details
82e65ec1c3
rellena campo rate
gitea/salix/pipeline/head This commit looks good Details
02cd2283a7
summary total
gitea/salix/pipeline/head This commit looks good Details
e217f02321
test front
jgallego added 1 commit 2021-06-29 08:33:11 +00:00
gitea/salix/pipeline/head This commit looks good Details
59fac7edfa
fixtures
carlosjr requested changes 2021-06-29 11:21:44 +00:00
@ -5,5 +5,6 @@ describe('invoiceIn summary()', () => {
const summary = await app.models.InvoiceIn.summary(1);
expect(summary.supplierRef).toEqual('1234');
expect(summary.totals).toEqual('1234');
Contributor

doesn't seem to be a good approach to use the same values on different fields.

doesn't seem to be a good approach to use the same values on different fields.
joan marked this conversation as resolved
@ -43,0 +43,4 @@
{
relation: 'invoiceInTax',
scope: {
fields: ['id', 'invoiceInFk', 'taxableBase', 'expenseFk', 'taxTypeSageFk', 'transactionTypeSageFk', 'foreignValue'],
Contributor

lines longer than 80 to 120 characters require indentation.

lines longer than 80 to 120 characters require indentation.
joan marked this conversation as resolved
@ -0,0 +12,4 @@
"properties": {
"id": {
"id": true,
"type": "Number",
Contributor

inconsistent type definition, use lowercase.

inconsistent type definition, use lowercase.
joan marked this conversation as resolved
@ -48,0 +51,4 @@
<vn-label translate>Due day</vn-label>
<vn-chip
class="transparent"
translate-attr=" $ctrl.summary.totals.totalDueDay != $ctrl.summary.totals.totalTaxableBase && $ctrl.summary.totals.totalDueDay != $ctrl.summary.totals.totalVat ? {title: 'No coinciden'} : {title: 'Vencimiento'}"
Contributor

extraction to a getter would be nice, making it more readable.

Also using translate-attr with spanish tittle is inconsistent.

extraction to a getter would be nice, making it more readable. Also using translate-attr with spanish tittle is inconsistent.
joan marked this conversation as resolved
@ -50,0 +83,4 @@
<vn-td shrink>{{::tax.taxableBase | currency: 'EUR':2}}</vn-td>
<vn-td>{{::tax.taxTypeSage.vat}}</vn-td>
<vn-td>{{::tax.transactionTypeSage.transaction}}</vn-td>
<vn-td number shrink>{{::0.2 | percentage}}</vn-td>
Contributor

is 0.2 an static value?

also using :: before static values is incorrect.

is 0.2 an static value? also using :: before static values is incorrect.
joan marked this conversation as resolved
@ -1,5 +1,15 @@
@import "variables";
@import "./variables";
@import "./effects";
Contributor

this import doesn't seem to be needed

this import doesn't seem to be needed
joan marked this conversation as resolved
@ -0,0 +1,110 @@
<vn-crud-model
vn-id="model"
url="InvoiceInTaxes"
fields="['id', 'invoiceInFk', 'taxableBase', 'expenseFk', 'foreignValue', 'taxTypeSageFk', 'transactionTypeSageFk']"
Contributor

lines longer than 80 to 120 characters shoueld be indented

lines longer than 80 to 120 characters shoueld be indented
joan marked this conversation as resolved
@ -0,0 +47,4 @@
on-change="$ctrl.setTaxRate = $value"
rule>
</vn-input-number>
Contributor

trailling space not needed betweent hatml tags in this case

trailling space not needed betweent hatml tags in this case
joan marked this conversation as resolved
@ -0,0 +78,4 @@
</vn-input-number>
<vn-input-number vn-one
disabled="$ctrl.invoiceIn.currency.code == 'EUR'"
type="number"
Contributor

vn-input-number doesn't require the property type="number"

vn-input-number doesn't require the property type="number"
joan marked this conversation as resolved
@ -0,0 +6,4 @@
super($element, $);
}
get setTaxRate() {
Contributor

rename to taxRateSelection

rename to taxRateSelection
joan marked this conversation as resolved
jgallego added 1 commit 2021-06-30 06:26:14 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
9371c49922
cambios solicitados
jgallego added 1 commit 2021-06-30 06:30:53 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
9054aa0885
Merge branch 'dev' into 2940-invoiceInTax-section
jgallego added 1 commit 2021-07-08 05:21:05 +00:00
jgallego added 1 commit 2021-07-08 06:19:40 +00:00
jgallego added 1 commit 2021-07-08 06:23:11 +00:00
jgallego added 1 commit 2021-07-08 08:06:52 +00:00
gitea/salix/pipeline/head This commit looks good Details
8c1d9853eb
selector fixed
jgallego added 1 commit 2021-07-12 13:27:49 +00:00
gitea/salix/pipeline/head This commit looks good Details
2f265760b4
permisos invoceInTax
jgallego added 1 commit 2021-07-14 05:49:15 +00:00
gitea/salix/pipeline/head This commit looks good Details
3ec8d4583f
bug
jgallego added 12 commits 2021-07-15 10:51:03 +00:00
jgallego added 1 commit 2021-07-16 15:20:02 +00:00
gitea/salix/pipeline/head This commit looks good Details
ee30bc9e1e
test fixed
carlosjr added 1 commit 2021-07-19 10:25:57 +00:00
joan added 1 commit 2021-08-09 12:06:35 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
cbaba8a075
Ammends
jgallego added 1 commit 2021-08-10 06:18:59 +00:00
gitea/salix/pipeline/head This commit looks good Details
3424fabd5b
test fixed
jgallego added 1 commit 2021-08-10 07:45:12 +00:00
gitea/salix/pipeline/head This commit looks good Details
d49242751e
Merge branch 'dev' into 2940-invoiceInTax-section
jgallego added 1 commit 2021-08-12 05:39:33 +00:00
gitea/salix/pipeline/head This commit looks good Details
54634ed22d
test okl
jgallego added 1 commit 2021-08-12 07:24:49 +00:00
gitea/salix/pipeline/head This commit looks good Details
92c3a24b1b
dash
jgallego added 2 commits 2021-08-12 08:02:32 +00:00
jgallego added 1 commit 2021-08-12 08:02:41 +00:00
gitea/salix/pipeline/head This commit looks good Details
da9eddbf9e
package
joan added the
e2e
label 2021-08-12 08:41:09 +00:00
joan requested changes 2021-08-12 09:46:10 +00:00
@ -195,6 +195,7 @@
"This document already exists on this ticket": "Este documento ya existe en el ticket",
"Some of the selected tickets are not billable": "Algunos de los tickets seleccionados no son facturables",
"You can't invoice tickets from multiple clients": "No puedes facturar tickets de multiples clientes",
"INACTIVE_PROVIDER": "INACTIVE_PROVIDER",
Contributor

Añadir traducción

Añadir traducción
jgallego added 1 commit 2021-08-12 12:00:24 +00:00
gitea/salix/pipeline/head This commit looks good Details
5efcd6a57e
translation
carlosjr added 3 commits 2021-08-12 15:29:02 +00:00
carlosjr removed the
e2e
label 2021-08-12 15:30:22 +00:00
carlosjr approved these changes 2021-08-12 15:33:37 +00:00
carlosjr left a comment
Contributor

LGTM

LGTM
joan added 1 commit 2021-08-13 06:04:53 +00:00
joan approved these changes 2021-08-13 06:10:56 +00:00
joan merged commit 590cd8af0b into dev 2021-08-13 06:11:07 +00:00
joan deleted branch 2940-invoiceInTax-section 2021-08-13 06:11:17 +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#680
No description provided.