Файловый менеджер - Редактировать - /home/clickysoft/public_html/jmapi5.clickysoft.net/pack.zip
Назад
PK �I�Z�[�`�xG �xG 2 pack-5ce65f085773261eb65d8c2f898a52de96b17c39.packnu ��6�$ PACK ��x�tree 4d1304f838ac3c537206eb0d3e0c6f9c2faf2692 parent 501c5cce8d90244e946dc16eae284c968878fcf4 author Zohaib-art <112410050+Zohaib-art@users.noreply.github.com> 1727348200 +0500 committer Zohaib-art <112410050+Zohaib-art@users.noreply.github.com> 1727348200 +0500 TROP-4, TROP-8, TROP-9 s)U"�x!�tree aa3c13dd0a4edd319b1bb4b3d4c01fe52a20bea9 parent 2d4acf864f10c2ad5604f4e6ab0f4dcae51247f7 author Zohaib-art <112410050+Zohaib-art@users.noreply.github.com> 1727333652 +0500 committer Zohaib-art <112410050+Zohaib-art@users.noreply.github.com> 1727333652 +0500 TROP-2, TROP-12, TROP-13 �:V���Zx����Q��(5U��,�2���(5%�����2�8����"����,1-9��,))�rb���������U��������g^fIfb��s~nnf �|(�0x340031Q�KM�,�/J��K�Lg+<���n]�cۖ��zs;�jS�W��Z��[����M��e��Ӈq6��)M�ٯ�(�.=�$���(3��$��!�wf�G.f�e˘��mx�������T��Q����g<�r�-�t�L�l ���ʜ��L�����Y�r���u�Ml�~���k�� WG_W�����o�J ����nK�]>��U&@��XP��i�������x_{aw>E��C�榦 �E%�ʼny���VWK�Q���߷8Ā����⒢��_��6��T�S�(�wS��ZP�$�����e��1����yq�^�yڽȵ_W}Y� b4�k�V?|w�밹:O،+�3�@�$�$&%�2�1=)<���EO����f���B��$�3��=a�:�� e��M_���9uKAbrvbz*�)U���7��X�r0�BLl�ݴ��0u�y�%z�@�:�%Qد��Q��G�Eoa�� J�r2��7��Z��|b��S �7<a�&QP�Z�_Z�����G���_��g�N���Eh$��g{�m�����l���VZ45_bH10=���f��}H��l�� �G圬����UR�P�p+wm�{�]*�E�(�~�;�I ���fV �Π�tG�m�/���2,'L����A �'4[��6x9 �����A���{j�����^$��`�tx��+���>X����m˓�l< `�x��root = true [*] charset = utf-8 end_of_line = lf insert_final_newline = true indent_style = space indent_size = 4 trim_trailing_whitespace = true [*.md] trim_trailing_whitespace = false [*.{yml,yaml}] indent_size = 2 [docker-compose.yml] indent_size = 4 ��Z4�Bx-�APP_NAME=Laravel APP_ENV=local APP_KEY= APP_DEBUG=true APP_URL=http://localhost LOG_CHANNEL=stack LOG_DEPRECATIONS_CHANNEL=null LOG_LEVEL=debug DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel DB_USERNAME=root DB_PASSWORD= BROADCAST_DRIVER=log CACHE_DRIVER=file FILESYSTEM_DISK=local QUEUE_CONNECTION=sync SESSION_DRIVER=file SESSION_LIFETIME=120 MEMCACHED_HOST=127.0.0.1 REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379 MAIL_MAILER=smtp MAIL_HOST=mailhog MAIL_PORT=1025 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS="hello@example.com" MAIL_FROM_NAME="${APP_NAME}" AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_DEFAULT_REGION=us-east-1 AWS_BUCKET= AWS_USE_PATH_STYLE_ENDPOINT=false PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= PUSHER_HOST= PUSHER_PORT=443 PUSHER_SCHEME=https PUSHER_APP_CLUSTER=mt1 VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}" VITE_PUSHER_HOST="${PUSHER_HOST}" VITE_PUSHER_PORT="${PUSHER_PORT}" VITE_PUSHER_SCHEME="${PUSHER_SCHEME}" VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" �K<g� x� g�* text=auto *.blade.php diff=html *.css diff=css *.html diff=html *.md diff=markdown *.php diff=php /.github export-ignore CHANGELOG.md export-ignore A3 �.x��/node_modules /public/hot /public/storage /storage/*.key /vendor .env .env.backup .phpunit.result.cache docker-compose.override.yml Homestead.json Homestead.yaml npm-debug.log yarn-error.log /.idea /.vscode .env resources/views/test.blade.php public/.htaccess app/scripts/sample.pdf app/scripts/html.html public/css/invoice.css composer.lock storage/.DS_Store storage/tmp/uploads/638dbaf09a055_gold-trophy.jpg storage/tmp/uploads/638dbb03753f2_crystal-trophies.jpg storage/tmp/uploads/63aacc9a0f2d2_SampleJPGImage_100kbmb (7).jpg storage/tmp/uploads/63aaccafa5bea_shield.jpg storage/tmp/uploads/63aaccc80011e_gold-trophy.jpg storage/tmp/uploads/63aaccd399e97_file_example_JPG_500kB.jpg storage/tmp/uploads/63aacce2ab4f0_crystal-trophies.jpg � x� P�php: preset: laravel version: 8 disabled: - no_unused_imports finder: not-name: - index.php js: finder: not-name: - webpack.mix.js css: true u�4ɶ�xv��<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400"></a></p> <p align="center"> <a href="https://travis-ci.org/laravel/framework"><img src="https://travis-ci.org/laravel/framework.svg" alt="Build Status"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a> </p> ## About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: - [Simple, fast routing engine](https://laravel.com/docs/routing). - [Powerful dependency injection container](https://laravel.com/docs/container). - Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. - Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). - Database agnostic [schema migrations](https://laravel.com/docs/migrations). - [Robust background job processing](https://laravel.com/docs/queues). - [Real-time event broadcasting](https://laravel.com/docs/broadcasting). Laravel is accessible, powerful, and provides tools required for large, robust applications. ## Learning Laravel Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. ## Laravel Sponsors We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell). ### Premium Partners - **[Vehikl](https://vehikl.com/)** - **[Tighten Co.](https://tighten.co)** - **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** - **[64 Robots](https://64robots.com)** - **[Cubet Techno Labs](https://cubettech.com)** - **[Cyber-Duck](https://cyber-duck.co.uk)** - **[Many](https://www.many.co.uk)** - **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)** - **[DevSquad](https://devsquad.com)** - **[Curotec](https://www.curotec.com/services/technologies/laravel/)** - **[OP.GG](https://op.gg)** - **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)** - **[Lendio](https://lendio.com)** ## Contributing Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). ## Code of Conduct In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). ## Security Vulnerabilities If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. ## License The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). s�y��x340031Q�s �.�/Jeȗ�f?$�5b��C����i���kb ��yy�9�a'�)Us)�'�4� ȩ� U��W�����x���E5�~�q��Sӊ���p�HN-(��c���V{h.����םf�XV;Ay���3��s/b����?C��[#+�-��())`�i�+�a�5|�k\o~�ny�� "�[�_TR�p����d!�.���_�--3�3�,����O*f��K�|r�F��y�Y|���KC�}3s�Jf(��=�M#��s.y 5�7?�%f1�[�z��I�,i��Μւ��/�L�LN��4���C�g+f��a���G��xD]@Q~Yf ȯ���H����[��b�Xo��5A�9����FǦ����~�vug���)q�����g?�V��,����u�?ۜf�g W����:x �����4<Tx�IOvDj�% ��/a��ʪ���x�� Bud1 � ndsclbool A d m i ndsclbool A p idsclbool @ � @ � @ � @ E � DSDB ` � @ � @ � @ T! ��xT���0�0� �q�.+e r t e dbw����0 c o n v e r t e dbwspblob �bplist00� ]ShowStatusBar[ShowToolbar[ShowTabView_ContainerShowSidebar\WindowBounds[ShowSidebar _{{340, 431}, {920, 436}} #/;R_klmno� � c o n v e r t e dvSrnlong ��� ����- � �T���\�UY��cx� E��0�0�O dsclbool��M H t t pdsclbool M o d e l sdsclbool s c r i p t sbwspblob ��.q({{372, 148}, {1154, 775}} #/;R_klmno���� s c r i p t s�����X.�xM ��40000 Messages �s�䑔σ-�"�'zS�1100644 SMSChannel.php �,�wjG��ŗ3y)�aD�4��x�x# �100644 SMS.php q9D�l�Z\�������2 � }�x� ?�<?php namespace App\Channels\Messages; class SMS { public $content; public function content($content): static { $this->content = $content; return $this; } } Y�; �Px�<?php namespace App\Channels; use Brevo\Client\Api\TransactionalSMSApi; use Brevo\Client\Configuration; use Brevo\Client\Model\SendSms; use Brevo\Client\Model\SendTransacSms; use GuzzleHttp\Client; use Illuminate\Notifications\Notification; use Illuminate\Support\Facades\Log; class SMSChannel { public function send($notifiable, Notification $notification): bool|SendSms { $message = $notification->toSms($notifiable); if(!$message) { return false; } $to = $notifiable->routeNotificationFor('Sms'); $apiKey = config('app.brevo_api_key'); $sender = config('app.brevo_sms_sender'); $config = Configuration::getDefaultConfiguration()->setApiKey('api-key', $apiKey); $apiInstance = new TransactionalSMSApi( new Client(), $config ); $sendTransacSms = new SendTransacSms(); $sendTransacSms->setSender($sender); $sendTransacSms->setRecipient($to); $sendTransacSms->setContent($message->content); try { return $apiInstance->sendTransacSms($sendTransacSms); } catch (\Exception $e) { Log::info('SMS failure : '. $to); Log::info($e->getMessage()); return false; } } } �H�a�xI ��40000 Commands �e��{�xD�]>>�9�Yx5100644 Kernel.php 4�R������u���E��Xz�GJ�x� �100644 AddOrderItemIdToPOItems.php �Bx��ʜ H�Ƶ�eF�0�100644 SendOrderArtworkReminderCommand.php /@���{�Q�CT\y ��100644 SendOrderPaymentReminderCommand.php �h��Z{�;;W�c�.�!�100644 SendPDOrdersMailCommand.php 29�����[ZO@ܸ89w1ޑ��\r�Lx�0�<?php namespace App\Console\Commands; use App\Models\OrderItems; use App\Models\PurchaseOrderToCreate; use Illuminate\Console\Command; use Illuminate\Support\Facades\Log; class AddOrderItemIdToPOItems extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'email:add-item-ids-to-po-orders'; /** * The console command description. * * @var string */ protected $description = 'Add order item id to items that are not created yet.'; public function handle(): void { $order_items = OrderItems::where('po_created', 0)->get(); foreach ($order_items as $item) { $po_items = PurchaseOrderToCreate::where([ 'order_id' => $item->order_id, 'product_id' => $item->product_id, 'price_id' => $item->price_id, 'quantity' => $item->quantity, ])->get(); foreach ($po_items as $po_item) { $po_item->order_item_id = $item->id; $po_item->save(); } } Log::channel('info_errors') ->info("Record ids updated for PO To Create."); } } ��k��x �<?php namespace App\Console\Commands; use App\Models\Order; use App\Models\OrderPaymentReminder; use App\Models\SiteSetting; use App\Notifications\OrderPaymentReminderNotification; use Illuminate\Console\Command; use Illuminate\Support\Facades\Log; class SendOrderPaymentReminderCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'email:send-order-payment-reminder'; /** * The console command description. * * @var string */ protected $description = 'Send email every three days to users who have not paid there order.'; public function handle(): void { $orders = OrderPaymentReminder::all(); $approve_url = config('app.react_app_payment_url'); $company_phone_1 = SiteSetting::where('key', 'Site Phone')->first(); $company_phone_2 = SiteSetting::where('key', 'Site Phone 2')->first(); $contact_email = SiteSetting::where('key', 'Notification Email')->first(); $location = SiteSetting::where('key', 'Location')->first(); foreach ($orders as $key => $order) { $db_order = Order::find($order->order_id); $pj_invoice = generatePJInvoice($db_order); if ($order->payment_status !== "Paid") { $data = [ 'user' => $order->user, 'order_number' => $order->order_number, 'amount' => $order->grand_total, 'payment_url' => $approve_url . $order->order_id, 'invoice_url' => $pj_invoice->hostedInvoiceUrl ?? null, 'order_total' => "$" . $order->grand_total, 'company_phone_1' => $company_phone_1->value ?? "N/A", 'company_phone_2' => $company_phone_2->value ?? "N/A", 'contact_email' => $contact_email->value ?? "N/A", 'location' => $location->value ?? "N/A", 'invoice_path' => $db_order->invoice->invoicePath ?? '', ]; Log::channel('info_errors')->info("Payment Reminder Email. Invoice path for order id $order->id is " . ($db_order->invoice->invoicePath ?? '')); $order->user->notify((new OrderPaymentReminderNotification($data))->delay(now()->addSeconds($key))); Log::channel('cron_jobs') ->info('Order payment reminder mail sent successfully to order id : ' . $order->order_id . ' at ' . now()->format('m-d-Y h:i:s')); } } } } ·��5�.xW�����RArtwork�YAArtwork��jArtwork��artwork���8 hours to users waiting on��<Rif (!now()->isWeekend()) { $orders = OrderArtworkReminder::all(); � U�$��8 �T:��/ ��-artwork_approve_url'); $templates = $attachments = []; foreach ($db_order->items as $item) { �C if (!empty($item->template)) { �A�P $templates[] = '<li style="text-align: center; list-style: none"><strong><a href="' . asset('storage/order/' . $item->template) . '" style="text-decoration: underline; font-size: 25px; color: blue"><u>CLICK HERE TO VIEW ARTWORK</u></a></strong></li>'; �B�P& $attachments[] = $item->templateUrl; �A� } �%0��<�U,notes' => $order->notes�!approve��?templates' => $templates�!����attachments' => $attachments�%��Artwork��� wartwork�� ��� !��x�A����1&ail\PDOrdersMail; use App\Models\Order��F��Mail; class SendPDOrdersMail�� po-orders���day to admin��. $old_date = now()->subDays(2)->startOfDay(); $orders = Order::where('created_at', '<=', $old_date)->where('current_status_id', 1)->ge�N@jMail::to('orders@jmtrophies.com') ->later(now()->addSeconds($key), new PDOrdersMail(['data��])); } �1�] �} PD order cron mail sent�� +} } �ߌطIx�h�<?php namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * Define the application's command schedule. * * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ protected function schedule(Schedule $schedule) { $schedule->command('email:send-order-payment-reminder')->weeklyOn(1, '9:00')->timezone('America/Los_Angeles'); //Every Mon at 9 AM $schedule->command('email:send-order-artwork-reminder')->twiceDailyAt(8, 16)->timezone('America/Los_Angeles'); // Frequency twice a day $schedule->command('email:send-po-orders-reminder')->cron('0 0 */2 * *')->timezone('America/Los_Angeles'); // Send after every two days // $schedule->command('email:send-po-orders-reminder')->daily()->timezone('America/Los_Angeles'); // Send daily } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } } �Gx�x'