@extends('accounts.nav') @section('content') @parent {!! Former::open('gateways/delete')->addClass('user-form') !!}
{!! Former::text('accountGatewayPublicId') !!}
{!! Former::close() !!} @if ($showAdd) {!! Button::primary(trans('texts.add_gateway')) ->asLinkTo('/gateways/create') ->withAttributes(['class' => 'pull-right']) ->appendIcon(Icon::create('plus-sign')) !!} @endif {!! Datatable::table() ->addColumn( trans('texts.name'), trans('texts.payment_type_id'), trans('texts.action')) ->setUrl(url('api/gateways/')) ->setOptions('sPaginationType', 'bootstrap') ->setOptions('bFilter', false) ->setOptions('bAutoWidth', false) ->setOptions('aoColumns', [[ "sWidth"=> "50%" ], [ "sWidth"=> "30%" ], ["sWidth"=> "20%"]]) ->setOptions('aoColumnDefs', [['bSortable'=>false, 'aTargets'=>[2]]]) ->render('datatable') !!} @stop