Delete transfers and transactions #809
              
                Unanswered
              
          
                  
                    
                      juliaokataleko
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 3 replies
-
| Hello. I won't beat around the bush, there is no such functionality, but I once wanted to think about it. I won't promise implementation. Attention. I didn't check the deletion, I just wrote a thought. I do not recommend deleting transactions and transfers. I think: 
 Example for laravel wallet 9.6+: use Illuminate\Support\Facades\DB;
DB::beginTransaction();
$user->resetConfirm($transactionForDelete);
$transactionForDelete->delete();
DB::commit();https://bavix.github.io/laravel-wallet/#/confirm | 
Beta Was this translation helpful? Give feedback.
                  
                    3 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hello people. How to safetly delete the transafers and transactions?
When I delete using eloquent, the wallet doesn't change the value.
Beta Was this translation helpful? Give feedback.
All reactions