#51 Festschreiben der Points, Gutschriftenmodul

This commit is contained in:
Kevin Adametz 2022-07-29 18:18:05 +02:00
parent 89a1a34972
commit 7f6052acf5
62 changed files with 4609 additions and 970 deletions

View file

@ -18,7 +18,7 @@ class PaymentInvoiceController extends Controller
public function __construct()
{
$this->middleware('auth');
$this->middleware('admin');
}
public function index()
@ -115,10 +115,8 @@ class PaymentInvoiceController extends Controller
$ret = "";
$ret .= '<a href="'.route('storage_file', [$UserInvoice->shopping_order->id, 'invoice', 'download']).'" class="btn btn-primary btn-xs"><i class="fa fa-download"></i></a> ';
$ret .= '<a href="'.route('storage_file', [$UserInvoice->shopping_order->id, 'invoice', 'stream']).'" target="_blank" class="btn btn-warning btn-xs"><i class="fa fa-eye"></i></a>';
return $ret;
})
->orderColumn('id', 'id $1')
->orderColumn('invoice_number', 'invoice_number $1')
->orderColumn('txaction', 'txaction $1')