Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S sistempos_finaltask
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mujahid Rofiq
  • sistempos_finaltask
  • Merge requests
  • !122

Merged
Created 1 year ago by Mujahid Rofiq@MujahidRMaintainer

slicing report payments

  • Overview 1
  • Commits 1
  • Changes 4

Created by: arneyva

  • Mujahid Rofiq
    Mujahid Rofiq @MujahidR · 1 year ago
    Author Maintainer

    Merged by: arneyva at 2024-04-16 13:55:00 UTC

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • main (base)

and
  • latest version
    63cf6e7a
    1 commit, 8 months ago

4 files
+ 228
- 3

    Preferences

    File browser
    Compare changes
app/Http/Contr‎ollers/Reports‎
ReportsCon‎troller.php‎ +13 -0
resources/vi‎ews/templates‎
rep‎orts‎
payments.‎blade.php‎ +208 -0
sidebar.‎blade.php‎ +3 -3
rou‎tes‎
web‎.php‎ +4 -0
app/Http/Controllers/Reports/ReportsController.php 0 → 100644
+ 13
- 0
  • View file @ 63cf6e7a

  • Edit in single-file editor

  • Edit in Web IDE

<?php
namespace App\Http\Controllers\Reports;
use App\Http\Controllers\Controller;
class ReportsController extends Controller
{
public function payments()
{
return view('templates.reports.payments');
}
}
resources/views/templates/reports/payments.blade.php 0 → 100644
+ 208
- 0
  • View file @ 63cf6e7a

  • Edit in single-file editor

  • Edit in Web IDE

@extends('templates.main')
<style>
.warehousedeleted {
padding: 7px;
border-radius: 7px;
background-color: #ffefef;
color: #F24D4D;
}
</style>
@section('content')
<div class="col-sm-12">
<div class="card">
<h4 class="card-title" style="align-self:center;margin-top:20px;">Payments Report
</h4>
<div class="card-header d-flex justify-content-between">
<div class="header-title">
<h5 class="card-title">Purchase
</h5>
</div>
</div>
<div class="card-header d-flex justify-content-between">
<div class="input-group search-input" style="width: 30%">
<span class="input-group-text d-inline" id="search-input">
<svg class="icon-18" width="18" viewBox="0 0 24 24" fill="none"
xmlns="http://www.w3.org/2000/svg">
<circle cx="11.7669" cy="11.7666" r="8.98856" stroke="currentColor" stroke-width="1.5"
stroke-linecap="round" stroke-linejoin="round"></circle>
<path d="M18.0186 18.4851L21.5426 22" stroke="currentColor" stroke-width="1.5"
stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</span>
<input type="search" class="form-control" placeholder="Search...">
</div>
<div class="header-title">
<button type="button" class="btn btn-soft-primary">Filter</button>
<button type="button" class="btn btn-soft-success">PDF</button>
<button type="button" class="btn btn-soft-danger">Excel</button>
</div>
</div>
<div class="card-body p-0">
<div class="table-responsive mt-4">
<table id="basic-table" class="table table-striped mb-0" role="grid">
<thead>
<tr>
<th>Date</th>
<th>Reference</th>
<th>Purchase</th>
<th>Supplier</th>
<th>Paid by</th>
<th>Account</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div class="bd-example" style="margin-left: 10px; margin-top:10px; margin-right:10px">
{{-- {{ $sales->links() }} --}}
</div>
</div>
</div>
{{-- --}}
<div class="card-header d-flex justify-content-between">
<div class="header-title">
<h5 class="card-title">Purchase Return
</h5>
</div>
</div>
<div class="card-header d-flex justify-content-between">
<div class="input-group search-input" style="width: 30%">
<span class="input-group-text d-inline" id="search-input">
<svg class="icon-18" width="18" viewBox="0 0 24 24" fill="none"
xmlns="http://www.w3.org/2000/svg">
<circle cx="11.7669" cy="11.7666" r="8.98856" stroke="currentColor" stroke-width="1.5"
stroke-linecap="round" stroke-linejoin="round"></circle>
<path d="M18.0186 18.4851L21.5426 22" stroke="currentColor" stroke-width="1.5"
stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</span>
<input type="search" class="form-control" placeholder="Search...">
</div>
<div class="header-title">
<button type="button" class="btn btn-soft-primary">Filter</button>
<button type="button" class="btn btn-soft-success">PDF</button>
<button type="button" class="btn btn-soft-danger">Excel</button>
</div>
</div>
<div class="card-body p-0">
<div class="table-responsive mt-4">
<table id="basic-table" class="table table-striped mb-0" role="grid">
<thead>
<tr>
<th>Date</th>
<th>Reference</th>
<th>Return</th>
<th>Supplier</th>
<th>Paid by</th>
<th>Account</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div class="bd-example" style="margin-left: 10px; margin-top:10px; margin-right:10px">
{{-- {{ $sales->links() }} --}}
</div>
</div>
</div>
{{-- --}}
<div class="card-header d-flex justify-content-between">
<div class="header-title">
<h5 class="card-title">Sale
</h5>
</div>
</div>
<div class="card-header d-flex justify-content-between">
<div class="input-group search-input" style="width: 30%">
<span class="input-group-text d-inline" id="search-input">
<svg class="icon-18" width="18" viewBox="0 0 24 24" fill="none"
xmlns="http://www.w3.org/2000/svg">
<circle cx="11.7669" cy="11.7666" r="8.98856" stroke="currentColor" stroke-width="1.5"
stroke-linecap="round" stroke-linejoin="round"></circle>
<path d="M18.0186 18.4851L21.5426 22" stroke="currentColor" stroke-width="1.5"
stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</span>
<input type="search" class="form-control" placeholder="Search...">
</div>
<div class="header-title">
<button type="button" class="btn btn-soft-primary">Filter</button>
<button type="button" class="btn btn-soft-success">PDF</button>
<button type="button" class="btn btn-soft-danger">Excel</button>
</div>
</div>
<div class="card-body p-0">
<div class="table-responsive mt-4">
<table id="basic-table" class="table table-striped mb-0" role="grid">
<thead>
<tr>
<th>Date</th>
<th>Reference</th>
<th>Sale</th>
<th>Supplier</th>
<th>Paid by</th>
<th>Account</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div class="bd-example" style="margin-left: 10px; margin-top:10px; margin-right:10px">
{{-- {{ $sales->links() }} --}}
</div>
</div>
</div>
{{-- --}}
<div class="card-header d-flex justify-content-between">
<div class="header-title">
<h5 class="card-title">Sale Return
</h5>
</div>
</div>
<div class="card-header d-flex justify-content-between">
<div class="input-group search-input" style="width: 30%">
<span class="input-group-text d-inline" id="search-input">
<svg class="icon-18" width="18" viewBox="0 0 24 24" fill="none"
xmlns="http://www.w3.org/2000/svg">
<circle cx="11.7669" cy="11.7666" r="8.98856" stroke="currentColor" stroke-width="1.5"
stroke-linecap="round" stroke-linejoin="round"></circle>
<path d="M18.0186 18.4851L21.5426 22" stroke="currentColor" stroke-width="1.5"
stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</span>
<input type="search" class="form-control" placeholder="Search...">
</div>
<div class="header-title">
<button type="button" class="btn btn-soft-primary">Filter</button>
<button type="button" class="btn btn-soft-success">PDF</button>
<button type="button" class="btn btn-soft-danger">Excel</button>
</div>
</div>
<div class="card-body p-0">
<div class="table-responsive mt-4">
<table id="basic-table" class="table table-striped mb-0" role="grid">
<thead>
<tr>
<th>Date</th>
<th>Reference</th>
<th>Return</th>
<th>Supplier</th>
<th>Paid by</th>
<th>Account</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div class="bd-example" style="margin-left: 10px; margin-top:10px; margin-right:10px">
{{-- {{ $sales->links() }} --}}
</div>
</div>
</div>
</div>
</div>
@endsection
resources/views/templates/sidebar.blade.php
+ 3
- 3
  • View file @ 63cf6e7a

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
fill="currentColor" />
</svg>
</i>
<span class="item-name">Report</span>
<span class="item-name">Reports</span>
<i class="right-icon">
<svg class="icon-18" xmlns="http://www.w3.org/2000/svg" width="18" fill="none"
viewBox="0 0 24 24" stroke="currentColor">
Show 20 lines Show all unchanged lines Show 20 lines
</a>
<ul class="sub-nav collapse" id="sidebar-icons" data-bs-parent="#sidebar-menu">
<li class="nav-item">
<a class="nav-link " href="../dashboard/icons/solid.html">
<a class="nav-link " href="{{ route('reports.payments') }}">
<i class="icon">
<svg class="icon-10" xmlns="http://www.w3.org/2000/svg" width="10"
viewBox="0 0 24 24" fill="currentColor">
Show 20 lines Show all unchanged lines Show 20 lines
</svg>
</i>
<i class="sidenav-mini-icon"> S </i>
<span class="item-name">Solid</span>
<span class="item-name">Payments</span>
</a>
</li>
<li class="nav-item">
Show 20 lines Show all unchanged lines
routes/web.php
+ 4
- 0
  • View file @ 63cf6e7a

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
use App\Http\Controllers\Product\ProductController;
use App\Http\Controllers\Product\UnitController;
use App\Http\Controllers\ProfileController;
use App\Http\Controllers\Reports\ReportsController;
use App\Http\Controllers\Sale\SaleController;
use App\Http\Controllers\Settings\CurrencyController;
use App\Http\Controllers\Settings\WarehousesController;
Show 20 lines Show all unchanged lines Show 20 lines
Route::get('get_Products_by_warehouse/{id}', [AdjustmentController::class, 'Products_by_Warehouse'])->name('get_Warehouses');
Route::get('show_product_data/{id}/{variant_id}/{warehouse_id}', [AdjustmentController::class, 'show_product_data']);
});
Route::prefix('reports')->middleware(['auth', 'verified'])->name('reports.')->group(function () {
Route::get('payments', [ReportsController::class, 'payments'])->name('payments');
});
Route::prefix('settings')->middleware(['auth', 'verified'])->name('settings.')->group(function () {
Route::prefix('warehouses')->name('warehouses.')->group(function () {
Route::get('list', [WarehousesController::class, 'index'])->name('index');
Show 20 lines Show all unchanged lines
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
0
Labels
None
Lock merge request
Unlocked
1
1 participant
Mujahid Rofiq
Reference: MujahidR/sistempos_finaltask!122
Source branch: dev-eth

Menu

Projects Groups Snippets
Help