This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//... | |
/** | |
* @Route("/checkout/thanks", name="home_checkout_finished", priority="10") | |
* @IsGranted("ROLE_USER") | |
*/ | |
public function thanks(Request $request) | |
{ | |
$session = $request->getSession(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>Criar Contato</h2> | |
<div> | |
<form method="post"> | |
<div> | |
<label>Nome</label> | |
<input type="text"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: "Nunito"; | |
font-size: 16px; | |
} | |
div.container { | |
width: 78%; | |
margin: 0 auto; | |
} | |
form div, form label, form input { | |
display:block; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<h2>Criar Contato</h2> | |
<div> | |
<form wire:submit.prevent="create" method="post"> | |
<div class="col-12"> | |
@if (session()->has('message')) | |
<div class="alert alert-danger"> | |
{{ session('message') }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="max-w-7xl mx-auto py-15 px-4"> | |
<x-slot name="header"> | |
Meus Registros | |
</x-slot> | |
<div class="w-full mx-auto text-right mb-4"> | |
<a href="{{route('expenses.create')}}" class="flex-shrink-0 bg-teal-500 hover:bg-teal-700 border-teal-500 hover:border-teal-700 text-sm border-4 text-white py-1 px-2 rounded">Criar Registro</a> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="max-w-7xl mx-auto py-15 px-4"> | |
<x-slot name="header"> | |
Criar Registro | |
</x-slot> | |
@include('includes.message') | |
<form action="" wire:submit.prevent="updateExpense" class="w-full max-w-7xl mx-auto"> | |
<div class="flex flex-wrap -mx-3 mb-6"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="max-w-7xl mx-auto py-15 px-4"> | |
<x-slot name="header"> | |
Criar Registro | |
</x-slot> | |
@include('includes.message') | |
<form action="" wire:submit.prevent="createExpense" class="w-full max-w-7xl mx-auto"> | |
<div class="flex flex-wrap -mx-3 mb-6"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="max-w-7xl mx-auto py-15 px-4"> | |
<x-slot name="header">Criar Plano</x-slot> | |
@include('includes.message') | |
<form action="" wire:submit.prevent="createPlan" class="w-full max-w-7xl mx-auto"> | |
<div class="flex flex-wrap -mx-3 mb-6"> | |
<p class="w-full px-3 mb-6 md:mb-0"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="max-w-7xl mx-auto py-15 px-4"> | |
<x-slot name="header">Planos</x-slot> | |
<div class="flex flex-col"> | |
<div class="-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"> | |
<div class="py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8"> | |
<div class="shadow overflow-hidden border-b border-gray-200 sm:rounded-lg"> | |
<table class="min-w-full divide-y divide-gray-200"> | |
<thead class="bg-gray-50"> | |
<tr> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Services\PagSeguro\Subscription; | |
use Illuminate\Support\Facades\Http; | |
class SubscriptionService | |
{ | |
private $data; |