2245-ticket_component #369

Merged
carlosjr merged 15 commits from 2245-ticket_component into dev 2020-09-10 08:52:31 +00:00
Contributor
No description provided.
bernat changed title from WIP: 2245-ticket_component to 2245-ticket_component 2020-09-09 09:27:27 +00:00
carlosjr approved these changes 2020-09-10 08:52:16 +00:00
carlosjr left a comment
Contributor

LGTM

LGTM
@ -67,0 +76,4 @@
</section>
</div>
<div class="totalBox align-left">
<h6 class="align-center" translate>Theorical port</h6>
Contributor

Theorical cost / fee / charges / expenses

Theorical cost / fee / charges / expenses
Contributor

Theorical cost / fee / charges / expenses

Theorical cost / fee / charges / expenses
@ -89,0 +107,4 @@
});
describe('getTheoricalCost()', () => {
it('should make a request to get the theorical port of a ticket', () => {
Contributor

theorical cost

theorical cost
@ -89,0 +111,4 @@
controller._ticket = {
id: 7
};
$httpBackend.expect('GET', `Tickets/${controller._ticket.id}/freightCost`).respond('My freight port');
Contributor

freight cost

freight cost
@ -89,0 +115,4 @@
controller.getTheoricalCost();
$httpBackend.flush();
expect(controller.theoricalCost).toBe('My freight port');
Contributor

freight cost

freight cost
carlosjr merged commit a9c1f97b72 into dev 2020-09-10 08:52:29 +00:00
carlosjr deleted branch 2245-ticket_component 2020-09-10 08:52:41 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 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#369
No description provided.