1
00:00:00,150 --> 00:00:00,930
Burgess.

2
00:00:02,650 --> 00:00:03,810
So you might recall in Ah.

3
00:00:04,160 --> 00:00:04,870
OK, so.

4
00:00:07,160 --> 00:00:13,700
I've got you might recall in Abdul in the fires, it each transaction iteration has one particular idea.

5
00:00:13,700 --> 00:00:16,070
So that's the idea that we are passing in here.

6
00:00:16,910 --> 00:00:19,010
No, that's moved back into a transaction phase.

7
00:00:19,550 --> 00:00:24,350
So we'll be just deleting that particular element if we're supposed to be deleted next.

8
00:00:24,920 --> 00:00:31,880
After this icon will be displaying the details of what transactions has been made and how much was the

9
00:00:31,880 --> 00:00:32,270
amount.

10
00:00:33,320 --> 00:00:37,910
So a list item text will give it up primary.

11
00:00:42,220 --> 00:00:45,940
And it should be trans transaction text.

12
00:00:47,360 --> 00:00:48,620
Transaction Dot.

13
00:00:49,440 --> 00:00:49,880
Text.

14
00:00:51,170 --> 00:00:52,250
Look at and just close it.

15
00:00:53,030 --> 00:00:57,170
Then again, the same thing, but this time it is going to be the amount that we are getting.

16
00:00:58,670 --> 00:01:05,780
This item, text and again, primary and this time the amount that we received.

17
00:01:07,410 --> 00:01:08,090
Okay.

18
00:01:08,820 --> 00:01:16,950
So again, the self-loathing that hit save, so we can see that there is an error on a amount, so if

19
00:01:16,950 --> 00:01:23,760
we are going to figure out why this error is coming, it's because we haven't just made up a function

20
00:01:23,760 --> 00:01:25,260
that is going to refactor this.

21
00:01:25,260 --> 00:01:31,470
So next task is to make that function to just about a written statement will be making a work function.

22
00:01:32,610 --> 00:01:35,160
OK, so the function is caused.

23
00:01:37,120 --> 00:01:40,060
Saying it is going to get a transaction.

24
00:01:43,190 --> 00:01:44,390
Transaction or demand?

25
00:01:47,950 --> 00:01:52,960
And again, after this amount is greater than zero.

26
00:01:53,770 --> 00:02:00,610
So this is conditional operators, if our transaction amount is greater than zero, then we want to

27
00:02:00,610 --> 00:02:01,600
enter dollar the.

28
00:02:02,590 --> 00:02:04,560
Otherwise you want to enter the minus dollars.

29
00:02:04,600 --> 00:02:11,050
And so if that amount is greater than zero, that means we are getting money in Oregon, then we want

30
00:02:11,350 --> 00:02:12,790
it to be a positive dollar thing.

31
00:02:13,660 --> 00:02:19,130
If not, if that is not the case, if a transaction or amount is in negative value, then you want to

32
00:02:19,840 --> 00:02:21,910
render the negative dollar thing.

33
00:02:23,370 --> 00:02:24,180
The no dollar.

34
00:02:24,690 --> 00:02:30,270
OK, so this is the case of science, though, and so now we have actually handed out a man of science.

35
00:02:30,570 --> 00:02:37,080
Now, apart from science, we also need to, in fact, that are amount that they're receiving.

36
00:02:37,320 --> 00:02:37,650
Right.

37
00:02:37,650 --> 00:02:43,650
So let's just consider a amount and it is going to be equal to saying they're going to need to put up

38
00:02:43,650 --> 00:02:44,430
the sign with you.

39
00:02:45,000 --> 00:02:45,450
Bless.

40
00:02:46,970 --> 00:02:47,450
Matt?

41
00:02:51,030 --> 00:02:51,960
Not abuse.

42
00:02:52,230 --> 00:02:57,650
So if you're wondering what this ABC does, it is for absolute values as you're already displaying a

43
00:02:57,660 --> 00:03:03,150
sense or here we are in no requirement to put up another sign because that might not be something that

44
00:03:03,360 --> 00:03:04,710
you would want your users to see.

45
00:03:05,040 --> 00:03:14,400
So what absolutely is going to does is for Zappos, if you are entering minus $5 and we are already

46
00:03:14,400 --> 00:03:16,020
having the sign in front of us, right?

47
00:03:16,350 --> 00:03:20,610
So it will just make this modified to just $5.

48
00:03:22,750 --> 00:03:26,830
So they give you the absolute value, that's all that this function does.

49
00:03:27,280 --> 00:03:32,050
So now inside the capsule values will be adding the transaction would amount.

50
00:03:35,430 --> 00:03:40,410
So now you might see that amount of money that it has been removed.

51
00:03:41,130 --> 00:03:46,440
So here we are, having a transaction amount now, apart from this, will also be giving it color.

52
00:03:48,800 --> 00:03:53,360
And let's just consider Collette, because we want.

53
00:03:55,250 --> 00:04:03,080
Expense column to be of great color, I'll add income column to the green color, so Costco, it goes

54
00:04:03,080 --> 00:04:06,320
to be a transaction that amount.

55
00:04:11,310 --> 00:04:18,000
And if it is greater than zero, then again, we want the colour to be green.

56
00:04:19,940 --> 00:04:23,230
And if not, then we want the to be that.

57
00:04:23,570 --> 00:04:25,880
Now we want to dynamically allocate this color, right?

58
00:04:26,150 --> 00:04:30,200
So for that purpose, we'll be using backpacks in here.

59
00:04:30,920 --> 00:04:32,780
So let's just put up a backpack.

60
00:04:34,040 --> 00:04:37,790
Because they'll be putting up Arcola value here.

61
00:04:42,150 --> 00:04:46,880
So now we have successfully created the boilerplate or all things that are in agreement, you know,

62
00:04:46,890 --> 00:04:51,870
the only part that is missing is the McStays, so that's what we'll be doing next.
