| 
									
										
										
										
											2024-03-24 13:24:48 +01:00
										 |  |  | <div class="row mb-2" x-data="boxes"> | 
					
						
							| 
									
										
										
										
											2023-07-23 07:10:31 +02:00
										 |  |  |     <div class="col-xl-3 col-lg-6 col-md-12 col-sm-12"> | 
					
						
							| 
									
										
										
										
											2023-07-22 16:42:33 +02:00
										 |  |  |         <div class="small-box text-bg-primary"> | 
					
						
							| 
									
										
										
										
											2024-03-24 13:24:48 +01:00
										 |  |  |             <div class="inner balance-box"> | 
					
						
							|  |  |  |                 <h3 class="hover-expand"> | 
					
						
							| 
									
										
										
										
											2023-07-22 07:51:02 +02:00
										 |  |  |                     <template x-for="(amount, index) in balanceBox.amounts" :key="index"> | 
					
						
							|  |  |  |                         <span> | 
					
						
							|  |  |  |                             <span x-text="amount"></span><span | 
					
						
							|  |  |  |                                 :class="{ 'invisible': (balanceBox.amounts.length == index+1) }">, </span> | 
					
						
							|  |  |  |                         </span> | 
					
						
							|  |  |  |                     </template> | 
					
						
							|  |  |  |                 </h3> | 
					
						
							| 
									
										
										
										
											2023-08-12 07:53:11 +02:00
										 |  |  |                 <template x-if="loading"> | 
					
						
							|  |  |  |                     <p> | 
					
						
							|  |  |  |                         <em class="fa-solid fa-spinner fa-spin"></em> | 
					
						
							|  |  |  |                     </p> | 
					
						
							|  |  |  |                 </template> | 
					
						
							|  |  |  |                 <template x-if="!loading"> | 
					
						
							|  |  |  |                     <p> | 
					
						
							|  |  |  |                         <a href="{{ route('reports.report.default', ['allAssetAccounts',$start->format('Ymd'),$end->format('Ymd')]) }}">{{ __('firefly.in_out_period') }}</a> | 
					
						
							|  |  |  |                     </p> | 
					
						
							|  |  |  |                 </template> | 
					
						
							| 
									
										
										
										
											2023-07-15 15:25:04 +02:00
										 |  |  |             </div> | 
					
						
							|  |  |  |             <span class="small-box-icon"> | 
					
						
							|  |  |  |                 <i class="fa-solid fa-scale-balanced"></i> | 
					
						
							|  |  |  |             </span> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-24 14:10:07 +01:00
										 |  |  |             <div class="small-box-footer hover-footer"> | 
					
						
							| 
									
										
										
										
											2023-07-22 07:51:02 +02:00
										 |  |  |                 <template x-for="(subtitle, index) in balanceBox.subtitles" :key="index"> | 
					
						
							|  |  |  |                         <span> | 
					
						
							|  |  |  |                             <span x-text="subtitle"></span><span | 
					
						
							|  |  |  |                                 :class="{ 'invisible': (balanceBox.amounts.length == index+1) }"> & </span> | 
					
						
							|  |  |  |                         </span> | 
					
						
							|  |  |  |                     </template> | 
					
						
							| 
									
										
										
										
											2024-03-24 14:10:07 +01:00
										 |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2023-07-15 15:25:04 +02:00
										 |  |  |         </div> | 
					
						
							|  |  |  |         <!--end::Small Box Widget 1--> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |     <!--end::Col--> | 
					
						
							| 
									
										
										
										
											2024-03-24 13:24:48 +01:00
										 |  |  |     <div class="col-xl-3 col-lg-6 col-md-12 col-sm-12"  style="flex-grow: 1;"> | 
					
						
							| 
									
										
										
										
											2023-07-15 15:25:04 +02:00
										 |  |  |         <!--begin::Small Box Widget 2--> | 
					
						
							|  |  |  |         <div class="small-box text-bg-success"> | 
					
						
							|  |  |  |             <div class="inner"> | 
					
						
							| 
									
										
										
										
											2024-03-24 14:10:07 +01:00
										 |  |  |                 <template x-if="0 === billBox.unpaid.length"> | 
					
						
							|  |  |  |                     <h3> </h3> | 
					
						
							|  |  |  |                 </template> | 
					
						
							|  |  |  |                 <template x-if="billBox.unpaid.length > 0"> | 
					
						
							| 
									
										
										
										
											2024-03-24 13:24:48 +01:00
										 |  |  |                 <h3 class="hover-expand"> | 
					
						
							| 
									
										
										
										
											2023-07-22 16:42:33 +02:00
										 |  |  |                     <template x-for="(amount, index) in billBox.unpaid" :key="index"> | 
					
						
							|  |  |  |                         <span> | 
					
						
							|  |  |  |                             <span x-text="amount"></span><span | 
					
						
							|  |  |  |                                 :class="{ 'invisible': (billBox.unpaid.length == index+1) }">, </span> | 
					
						
							|  |  |  |                         </span> | 
					
						
							|  |  |  |                     </template> | 
					
						
							| 
									
										
										
										
											2024-03-24 14:10:07 +01:00
										 |  |  |                     <span x-text="billBox.unpaid.length"></span> | 
					
						
							| 
									
										
										
										
											2023-07-22 16:42:33 +02:00
										 |  |  |                 </h3> | 
					
						
							| 
									
										
										
										
											2024-03-24 14:10:07 +01:00
										 |  |  |                 </template> | 
					
						
							| 
									
										
										
										
											2023-08-12 07:53:11 +02:00
										 |  |  |                 <template x-if="loading"> | 
					
						
							|  |  |  |                     <p> | 
					
						
							|  |  |  |                         <em class="fa-solid fa-spinner fa-spin"></em> | 
					
						
							|  |  |  |                     </p> | 
					
						
							|  |  |  |                 </template> | 
					
						
							| 
									
										
										
										
											2024-03-24 14:10:07 +01:00
										 |  |  |                 <template x-if="!loading && billBox.unpaid.length > 0"> | 
					
						
							| 
									
										
										
										
											2023-08-12 07:53:11 +02:00
										 |  |  |                     <p><a href="{{ route('bills.index') }}">{{ __('firefly.bills_to_pay') }}</a></p> | 
					
						
							|  |  |  |                 </template> | 
					
						
							| 
									
										
										
										
											2024-03-24 14:10:07 +01:00
										 |  |  |                 <template x-if="0 === billBox.unpaid.length"> | 
					
						
							|  |  |  |                     <p>No subscriptions are waiting to be paid</p> | 
					
						
							|  |  |  |                 </template> | 
					
						
							| 
									
										
										
										
											2023-07-15 15:25:04 +02:00
										 |  |  |             </div> | 
					
						
							|  |  |  |             <span class="small-box-icon"> | 
					
						
							|  |  |  |                 <em class="fa-regular fa-calendar"></em> | 
					
						
							|  |  |  |             </span> | 
					
						
							|  |  |  |             <span class="small-box-footer"> | 
					
						
							| 
									
										
										
										
											2024-03-24 14:10:07 +01:00
										 |  |  |                 <template x-if="0 === billBox.paid.length"> | 
					
						
							|  |  |  |                     <span> </span> | 
					
						
							|  |  |  |                 </template> | 
					
						
							|  |  |  |                 <template x-if="billBox.paid.length > 0"> | 
					
						
							|  |  |  |                     <span> | 
					
						
							|  |  |  |                     {{ __('firefly.unpaid') }}: | 
					
						
							| 
									
										
										
										
											2023-07-22 16:42:33 +02:00
										 |  |  |                 {{ __('firefly.paid') }}: | 
					
						
							|  |  |  |                 <template x-for="(amount, index) in billBox.paid" :key="index"> | 
					
						
							|  |  |  |                         <span> | 
					
						
							|  |  |  |                             <span x-text="amount"></span><span | 
					
						
							|  |  |  |                                 :class="{ 'invisible': (billBox.paid.length == index+1) }">, </span> | 
					
						
							|  |  |  |                         </span> | 
					
						
							|  |  |  |                     </template> | 
					
						
							| 
									
										
										
										
											2024-03-24 14:10:07 +01:00
										 |  |  |                         </span> | 
					
						
							|  |  |  |                 </template> | 
					
						
							| 
									
										
										
										
											2023-07-15 15:25:04 +02:00
										 |  |  |             </span> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |         <!--end::Small Box Widget 2--> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |     <!--end::Col--> | 
					
						
							| 
									
										
										
										
											2024-03-24 13:24:48 +01:00
										 |  |  |     <div class="col-xl-3 col-lg-6 col-md-12 col-sm-12"  style="flex-grow: 1;"> | 
					
						
							| 
									
										
										
										
											2023-07-15 15:25:04 +02:00
										 |  |  |         <!--begin::Small Box Widget 3--> | 
					
						
							|  |  |  |         <div class="small-box text-bg-warning"> | 
					
						
							|  |  |  |             <div class="inner"> | 
					
						
							| 
									
										
										
										
											2024-03-24 13:24:48 +01:00
										 |  |  |                 <h3 class="hover-expand"> | 
					
						
							| 
									
										
										
										
											2023-07-22 16:42:33 +02:00
										 |  |  |                     <template x-for="(amount, index) in leftBox.left" :key="index"> | 
					
						
							|  |  |  |                         <span> | 
					
						
							|  |  |  |                             <span x-text="amount"></span><span | 
					
						
							|  |  |  |                                 :class="{ 'invisible': (leftBox.left.length == index+1) }">, </span> | 
					
						
							|  |  |  |                         </span> | 
					
						
							|  |  |  |                     </template> | 
					
						
							|  |  |  |                 </h3> | 
					
						
							| 
									
										
										
										
											2023-07-15 15:25:04 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-12 07:53:11 +02:00
										 |  |  |                 <template x-if="loading"> | 
					
						
							|  |  |  |                     <p> | 
					
						
							|  |  |  |                         <em class="fa-solid fa-spinner fa-spin"></em> | 
					
						
							|  |  |  |                     </p> | 
					
						
							|  |  |  |                 </template> | 
					
						
							|  |  |  |                 <template x-if="!loading"> | 
					
						
							|  |  |  |                     <p><a href="{{ route('budgets.index') }}">{{ __('firefly.left_to_spend') }}</a></p> | 
					
						
							|  |  |  |                 </template> | 
					
						
							| 
									
										
										
										
											2023-07-15 15:25:04 +02:00
										 |  |  |             </div> | 
					
						
							|  |  |  |             <span class="small-box-icon"> | 
					
						
							|  |  |  |                 <em class="fa-solid fa-money-check-dollar"></em> | 
					
						
							|  |  |  |             </span> | 
					
						
							|  |  |  |             <span class="small-box-footer"> | 
					
						
							| 
									
										
										
										
											2023-07-23 07:10:31 +02:00
										 |  |  |                 {{ __('firefly.per_day') }}: | 
					
						
							|  |  |  |                  <template x-for="(amount, index) in leftBox.perDay" :key="index"> | 
					
						
							|  |  |  |                         <span> | 
					
						
							|  |  |  |                             <span x-text="amount"></span><span | 
					
						
							|  |  |  |                                 :class="{ 'invisible': (leftBox.perDay.length == index+1) }">, </span> | 
					
						
							|  |  |  |                         </span> | 
					
						
							|  |  |  |                     </template> | 
					
						
							| 
									
										
										
										
											2023-07-15 15:25:04 +02:00
										 |  |  |             </span> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |         <!--end::Small Box Widget 3--> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |     <!--end::Col--> | 
					
						
							| 
									
										
										
										
											2024-03-24 13:24:48 +01:00
										 |  |  |     <div class="col-xl-3 col-lg-6 col-md-12 col-sm-12" style="flex-grow: 1;"> | 
					
						
							| 
									
										
										
										
											2023-07-15 15:25:04 +02:00
										 |  |  |         <!--begin::Small Box Widget 4--> | 
					
						
							|  |  |  |         <div class="small-box text-bg-danger"> | 
					
						
							|  |  |  |             <div class="inner"> | 
					
						
							| 
									
										
										
										
											2024-03-24 13:24:48 +01:00
										 |  |  |                 <h3 class="hover-expand"> | 
					
						
							| 
									
										
										
										
											2023-07-22 16:42:33 +02:00
										 |  |  |                     <template x-for="(amount, index) in netBox.net" :key="index"> | 
					
						
							|  |  |  |                         <span> | 
					
						
							|  |  |  |                             <span x-text="amount"></span><span | 
					
						
							|  |  |  |                                 :class="{ 'invisible': (netBox.net.length == index+1) }">, </span> | 
					
						
							|  |  |  |                         </span> | 
					
						
							|  |  |  |                     </template> | 
					
						
							|  |  |  |                 </h3> | 
					
						
							| 
									
										
										
										
											2023-07-15 15:25:04 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-12 07:53:11 +02:00
										 |  |  |                 <template x-if="loading"> | 
					
						
							|  |  |  |                     <p> | 
					
						
							|  |  |  |                         <em class="fa-solid fa-spinner fa-spin"></em> | 
					
						
							|  |  |  |                     </p> | 
					
						
							|  |  |  |                 </template> | 
					
						
							|  |  |  |                 <template x-if="!loading"> | 
					
						
							|  |  |  |                     <p> | 
					
						
							|  |  |  |                         <a href="{{ route('reports.report.default', ['allAssetAccounts','currentYearStart','currentYearEnd']) }}">{{ __('firefly.net_worth') }}</a> | 
					
						
							|  |  |  |                     </p> | 
					
						
							|  |  |  |                 </template> | 
					
						
							| 
									
										
										
										
											2023-07-15 15:25:04 +02:00
										 |  |  |             </div> | 
					
						
							|  |  |  |             <span class="small-box-icon"> | 
					
						
							|  |  |  |                 <i class="fa-solid fa-chart-line"></i> | 
					
						
							|  |  |  |             </span> | 
					
						
							|  |  |  |             <span class="small-box-footer"> | 
					
						
							|  |  |  |                   | 
					
						
							|  |  |  |             </span> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |         <!--end::Small Box Widget 4--> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |     <!--end::Col--> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | <!--end::Row--> |