This commit is contained in:
Azfar Arsyad
2022-03-30 00:24:38 +08:00
parent bed4696126
commit bb813f4a42
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -156,7 +156,7 @@ class ApiController extends Controller
$month = $current->month;
$year = $current->format('y');
$total_bayaran = 1000;
$total_bayaran = 1100;
$collection_id = $this->collection_id;
$response = $bill->create(
@@ -190,7 +190,7 @@ class ApiController extends Controller
$resit->reference_no = $reference_no;
$resit->billplz_id = $billcode['id'];
$resit->resit_type = 1;
$resit->total_payment = 10;
$resit->total_payment = 11;
$resit->save();
@@ -338,7 +338,7 @@ class ApiController extends Controller
$month = $current->month;
$year = $current->format('y');
$total_bayaran = ($request->total)*100;
$total_bayaran = ($request->total)*100+100;
$collection_id = $this->collection_id;
$response = $bill->create(
@@ -372,7 +372,7 @@ class ApiController extends Controller
$resit->reference_no = $reference_no;
$resit->billplz_id = $billcode['id'];
$resit->resit_type = 3; //billplz resit for bid payment
$resit->total_payment = $request->total;
$resit->total_payment = $request->total+1;
$resit->save();
@@ -14,7 +14,7 @@ use Illuminate\Support\Facades\Validator;
class AuthController extends Controller
{
public function register(Request $request) {
dd($request->all);
// dd($request->all);
$validator = Validator::make($request->all(), [
'name' => 'required|string',
'username' => 'required|string|unique:users',