1
00:00:00,300 --> 00:00:07,770
And what we'll do is we'll go back to our income expense component, and we'll add functionality to

2
00:00:07,770 --> 00:00:11,790
that income export and expense component.

3
00:00:11,820 --> 00:00:17,760
So right now we just see hardcoded values, but no functional logic at all.

4
00:00:18,460 --> 00:00:23,520
So first of all, I will just import the global context.

5
00:00:27,470 --> 00:00:35,630
From Global State, and next, I'll add my money Ford Motor functions, so let me grab my money from

6
00:00:35,630 --> 00:00:43,040
it and from the balance what I created, I already told you that we will use it in multiple places to

7
00:00:43,820 --> 00:00:44,210
make.

8
00:00:46,140 --> 00:00:52,320
Like, configure the amount of money with like the commas and separated the command and everything,

9
00:00:52,830 --> 00:00:53,720
so that does work.

10
00:00:54,090 --> 00:01:00,720
I'll close this balance now and let me come to the income expense and now cut and paste it.

11
00:01:01,960 --> 00:01:07,390
So I've pasted the money for motor function, still for the money, basically.

12
00:01:07,960 --> 00:01:14,050
OK, so next we'll go to the income expenses and let's start creating things.

13
00:01:14,230 --> 00:01:16,300
So first of all, we'll of course.

14
00:01:18,440 --> 00:01:19,310
Okay.

15
00:01:20,720 --> 00:01:32,560
What we'll find this constraint that we be transactions and actions and this will be defined by the

16
00:01:32,560 --> 00:01:38,740
use context is context and inside this would be the global context.

17
00:01:43,370 --> 00:01:51,500
It's a global context here, I'll provide a semicolon, and next, what we'll do is we'll we'll add

18
00:01:51,500 --> 00:01:54,170
an amount, we'll do the same thing.

19
00:01:54,170 --> 00:02:00,830
Basically, what we did in the balance was like show them like a small amount.

20
00:02:02,380 --> 00:02:15,850
We'll map this for transactions dart map and and I will add bond fund action, not guns.

21
00:02:18,650 --> 00:02:24,560
Not curly braces required to gnaw transaction, dark amount.

22
00:02:24,800 --> 00:02:25,460
Not anymore.

23
00:02:25,970 --> 00:02:28,040
So this is what it is.

24
00:02:30,090 --> 00:02:37,890
I'll provide us on Michael, and next, we'll grab the income, so how to like the incomes of two great

25
00:02:37,890 --> 00:02:43,860
incomes of Konst income income will be equal to amounts.

26
00:02:45,030 --> 00:02:48,360
And and it will say it will will filter it.

27
00:02:49,410 --> 00:02:52,180
So which is which I.

28
00:02:52,450 --> 00:02:57,390
It is, and we added according to that, it will be a to start.

29
00:02:59,190 --> 00:03:02,730
And inside the filter that would be, I don't know.

30
00:03:03,910 --> 00:03:07,030
Not a move record, certainly just one.

31
00:03:08,110 --> 00:03:14,020
Yeah, actually, it will affect the functions, let me double only what I did.

32
00:03:14,620 --> 00:03:21,460
Some people who had or what I'll do is I'll just to read the fact that a function that I done should

33
00:03:21,460 --> 00:03:23,390
be greater than greater than zero.

34
00:03:23,390 --> 00:03:31,690
And like, we can't give the income for zero and that will be greater than zero and this will be reduced

35
00:03:31,690 --> 00:03:36,350
further to reduce both found.

36
00:03:37,420 --> 00:03:49,510
And it will be expecting I don't and inside this inside, this would be the sound would be added to

37
00:03:49,510 --> 00:03:53,140
the new items or something like that.

38
00:03:56,720 --> 00:03:58,460
Then we provide a command.

39
00:03:58,700 --> 00:04:00,020
It would be a zero.

40
00:04:00,920 --> 00:04:07,580
But that's it for this income, and the next will create the expense as well.

41
00:04:08,030 --> 00:04:13,460
So for creating the expense, also something like that, only maybe we can just give a minus one in

42
00:04:13,470 --> 00:04:15,320
the end for.

43
00:04:16,830 --> 00:04:23,130
Knowing what we do is in the expense, what we do is we just multiplied by minus minus one.

44
00:04:23,470 --> 00:04:30,780
So it becomes a negative value so I can just type it and just that kind of expense going to.

45
00:04:32,410 --> 00:04:35,710
Amounts are being stored.

46
00:04:38,090 --> 00:04:46,430
Basically, I'm typing the same thing in just fast forward and the but that is a little different here

47
00:04:46,430 --> 00:04:49,310
because that was among greater than equal to zero.

48
00:04:50,270 --> 00:04:54,350
The amount will be less than zero four for I don't.

49
00:04:55,970 --> 00:04:57,010
Less than zero.

50
00:04:59,130 --> 00:05:00,630
All of this will be reduced.

51
00:05:01,870 --> 00:05:04,860
The news and in the same 10.

52
00:05:08,080 --> 00:05:09,130
This will be.

53
00:05:10,550 --> 00:05:14,150
I found the secret to.

54
00:05:15,290 --> 00:05:15,770
I don't.

55
00:05:17,620 --> 00:05:25,060
So now this would be multiplied by like this is, you know, OK, but now this would be multiplied by

56
00:05:25,060 --> 00:05:30,910
minus one to make the value negative because expense would be obviously negative.

57
00:05:31,690 --> 00:05:33,460
Hey, I didn't care.

58
00:05:34,580 --> 00:05:36,110
Or be this.

59
00:05:36,920 --> 00:05:37,400
Yes.

60
00:05:38,090 --> 00:05:41,130
Now moving forward, we want to display our.

61
00:05:42,270 --> 00:05:44,490
We want to display our income and expense.

62
00:05:45,150 --> 00:05:52,260
So we will display it here right now, we have hard core news values, but now we grab that dynamic

63
00:05:52,260 --> 00:05:54,870
of energy was and will display their dynamic values here.

64
00:05:56,010 --> 00:05:58,200
So how will this play our dynamic values?

65
00:05:58,770 --> 00:06:07,170
We already created the class and also inside the tag selected first class name to this class name.

66
00:06:09,040 --> 00:06:14,110
So what I've done is I've created a serious file and attached to it, like the obnoxiousness have already

67
00:06:14,110 --> 00:06:16,090
created and everything is set.

68
00:06:16,630 --> 00:06:23,620
But before finishing the product, I'll explain the CSIS in detail like every line of CSIS.

69
00:06:24,140 --> 00:06:30,310
Of course, we know Typekit from scratch will not type line by line the and and explore new line by

70
00:06:30,310 --> 00:06:31,870
line what I used to wear.

71
00:06:32,650 --> 00:06:33,280
So.

72
00:06:34,600 --> 00:06:44,170
Because it's income for income that will be money and plus because I want them to be in the green colored.

73
00:06:45,380 --> 00:06:48,940
And inside, this was the hard core of the venue.

74
00:06:49,320 --> 00:06:55,610
Now I have one dynamic venue, so we use the money format, which which I have created here.

75
00:06:56,420 --> 00:07:00,970
This I will use and inside this is JavaScript to.

76
00:07:03,830 --> 00:07:10,790
The calibrated that it will be money from out of side, this will cost the.

77
00:07:12,790 --> 00:07:14,540
And come next.

78
00:07:14,560 --> 00:07:16,660
I do see him for the expense also.

79
00:07:17,220 --> 00:07:20,380
So I'll go and I'll give the last name here of.

80
00:07:21,520 --> 00:07:26,960
Last name would be money minus money blindness.

81
00:07:27,370 --> 00:07:27,730
OK.

82
00:07:28,770 --> 00:07:30,930
And here I will provide again.

83
00:07:33,880 --> 00:07:36,880
Money for matter and inside the sale, pastor.

84
00:07:37,900 --> 00:07:38,530
Spence.

85
00:07:41,680 --> 00:07:44,970
Expense and of course, this is JavaScript, so this will be inside.

86
00:07:45,770 --> 00:07:49,290
I've got to liberate us to survive, but inside the contribute.

87
00:07:50,540 --> 00:07:51,200
Sound good.

88
00:07:53,750 --> 00:07:55,010
What I did.

89
00:07:56,750 --> 00:07:57,890
I made a mistake.

90
00:07:58,040 --> 00:08:01,550
This was not an issue.

91
00:08:01,610 --> 00:08:04,630
I'm sorry this was inside the speed tag.

92
00:08:06,480 --> 00:08:07,620
Britney Spears did.

93
00:08:09,180 --> 00:08:11,610
This last name was also of.

94
00:08:14,180 --> 00:08:18,800
Of this paragraph north of the H-1, basically.

95
00:08:21,070 --> 00:08:21,820
This H.

96
00:08:22,180 --> 00:08:27,280
H for East, this is what will just contain this award, which is expense.

97
00:08:29,490 --> 00:08:30,360
I'll say it.

98
00:08:31,440 --> 00:08:32,850
Bomb squad.
