Suwandiaminsangaji

payment/show.php

Jul 14th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. <?php
  2.  
  3. namespace App\Http\Livewire\Console\Payment;
  4.  
  5. use App\PaymentConfirmation;
  6. use Livewire\Component;
  7.  
  8. class Show extends Component
  9. {
  10.     public $payment;
  11.  
  12.     public function mount($id)
  13.     {
  14.         $this->payment = PaymentConfirmation::find($id);
  15.     }
  16.  
  17.     public function render()
  18.     {
  19.         return view('livewire.console.payment.show');
  20.     }
  21. }
Add Comment
Please, Sign In to add comment