当前位置: 首页>>代码示例>>PHP>>正文


PHP Branch::getBranchesDropDown方法代码示例

本文整理汇总了PHP中app\Branch::getBranchesDropDown方法的典型用法代码示例。如果您正苦于以下问题:PHP Branch::getBranchesDropDown方法的具体用法?PHP Branch::getBranchesDropDown怎么用?PHP Branch::getBranchesDropDown使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在app\Branch的用法示例。


在下文中一共展示了Branch::getBranchesDropDown方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getEdit

 public function getEdit($id)
 {
     $users = User::find($id);
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     return view('Users.edit', compact('branchAll'))->with('userdata', $users);
 }
开发者ID:woakes070048,项目名称:cemcoErp,代码行数:7,代码来源:UserController.php

示例2: getEdit

 public function getEdit($id)
 {
     $stockInfo = StockInfo::find($id);
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     return view('StockInfos.edit', compact('stockInfo'))->with('branchAll', $branchAll);
 }
开发者ID:woakes070048,项目名称:cemcoErp,代码行数:7,代码来源:StockInfoController.php

示例3: getEdit

 public function getEdit($id)
 {
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     $category = Category::find($id);
     return view('ProductCategory.edit', compact('branchAll'))->with('category', $category);
 }
开发者ID:woakes070048,项目名称:cemcoErp,代码行数:7,代码来源:ProductCategoryController.php

示例4: getCreate

 public function getCreate()
 {
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     $accountCategories = new AccountCategory();
     $accountCategoriesAll = $accountCategories->getAccountCategoriesDropDown();
     return view('BalanceTransfers.add')->with('branchAll', $branchAll)->with('accountCategoriesAll', $accountCategoriesAll);
 }
开发者ID:woakes070048,项目名称:cemcoErp,代码行数:8,代码来源:BalanceTransferController.php

示例5: getEdit

 public function getEdit($id)
 {
     $account = NameOfAccount::find($id);
     $accountCategories = new AccountCategory();
     $accountCategoriesAll = $accountCategories->getAccountCategoriesDropDown();
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     return view('AccountName.edit', compact('account'))->with('accountCategoriesAll', $accountCategoriesAll)->with('branchAll', $branchAll);
 }
开发者ID:woakes070048,项目名称:cemcoErp,代码行数:9,代码来源:AccountNameController.php

示例6: getEdit

 public function getEdit($id)
 {
     $categories = new Category();
     $allCategory = $categories->getCategoriesDropDown();
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     $subCategory = SubCategory::find($id);
     return view('ProductSubCategory.edit', compact('branchAll'))->with('subCategory', $subCategory)->with('categoryAll', $allCategory);
 }
开发者ID:woakes070048,项目名称:cemcoErp,代码行数:9,代码来源:ProductSubCategoryController.php

示例7: getEdit

 public function getEdit($id)
 {
     $stockRequisition = StockRequisition::find($id);
     $products = new Product();
     $productAll = $products->getProductsWithCategories();
     $parties = new Party();
     $partyAll = $parties->getPartiesDropDown();
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     return view('StockRequisition.edit', compact('stockRequisition'))->with('partyAll', $partyAll)->with('productAll', $productAll)->with('branchAll', $branchAll);
 }
开发者ID:rockyamdad,项目名称:cemcoErp,代码行数:11,代码来源:StockRequisitionController.php

示例8: getCreate

 public function getCreate()
 {
     $stockInfos = new StockInfo();
     $allStockInfos = $stockInfos->getStockInfoDropDown();
     $parties = new Party();
     $partyAll = $parties->getPartiesDropDown();
     $imports = new Import();
     $consignmentAll = $imports->getConsignmentNameDropDown();
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     return view('SalesReturn.add', compact('allStockInfos', 'consignmentAll'))->with('branchAll', $branchAll)->with('partyAll', $partyAll);
 }
开发者ID:woakes070048,项目名称:cemcoErp,代码行数:12,代码来源:SalesReturnController.php

示例9: getStockProducts

 public function getStockProducts()
 {
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     $stockInfos = new StockInfo();
     $allStockInfos = $stockInfos->getStockInfoDropDown();
     $catogories = new Category();
     $categoriesAll = $catogories->getCategoriesDropDown();
     $products = new Product();
     $productAll = $products->getProductsWithCategories();
     return view('Searches.stockProduct', compact('productAll'))->with('categoriesAll', $categoriesAll)->with('allStockInfos', $allStockInfos)->with('branchAll', $branchAll);
 }
开发者ID:woakes070048,项目名称:cemcoErp,代码行数:12,代码来源:SearchController.php

示例10: getEdit

 public function getEdit($id)
 {
     $buyers = new Party();
     $buyersAll = $buyers->getBuyersDropDown();
     $products = new Product();
     $finishGoods = $products->getFinishGoodsDropDown();
     $stockInfos = new StockInfo();
     $allStockInfos = $stockInfos->getStockInfoDropDown();
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     $sale[0] = Sale::where('invoice_id', '=', $id)->get();
     $var = $sale[0];
     $saleDetails = SAleDetail::where('invoice_id', '=', $id)->get();
     return view('Sales.edit', compact('buyersAll'))->with('finishGoods', $finishGoods)->with('saleDetails', $saleDetails)->with('sale', $var)->with('branchAll', $branchAll)->with('allStockInfos', $allStockInfos);
 }
开发者ID:woakes070048,项目名称:cemcoErp,代码行数:15,代码来源:SaleController.php

示例11: getEdit

 public function getEdit($id)
 {
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     $import = Import::find($id);
     return view('Imports.edit', compact('import'))->with('branchAll', $branchAll);
 }
开发者ID:rockyamdad,项目名称:cemcoErp,代码行数:7,代码来源:ImportController.php

示例12: getEdit

 public function getEdit($id)
 {
     $suppliers = new Party();
     $suppliersAll = $suppliers->getSuppliersDropDown();
     $products = new Product();
     $localProducts = $products->getLocalProductsDropDown();
     $stockInfos = new StockInfo();
     $allStockInfos = $stockInfos->getStockInfoDropDown();
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     $purchase[0] = PurchaseInvoice::where('invoice_id', '=', $id)->get();
     $var = $purchase[0];
     $purchaseDetails = PurchaseInvoiceDetail::where('detail_invoice_id', '=', $id)->get();
     return view('PurchaseInvoice.edit', compact('suppliersAll'))->with('localProducts', $localProducts)->with('purchaseDetails', $purchaseDetails)->with('purchase', $var)->with('branchAll', $branchAll)->with('allStockInfos', $allStockInfos);
 }
开发者ID:woakes070048,项目名称:cemcoErp,代码行数:15,代码来源:PurchaseInvoiceController.php

示例13: getMakeall

 public function getMakeall()
 {
     $accountCategories = new AccountCategory();
     $accountCategoriesAll = $accountCategories->getAccountCategoriesDropDown();
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     $buyers = new Party();
     $partyAll = $buyers->getSuppliersDropDown();
     return view('PurchaseInvoice.paymentAddAll', compact('accountCategoriesAll'))->with('branchAll', $branchAll)->with('partyAll', $partyAll);
 }
开发者ID:rockyamdad,项目名称:cemcoErp,代码行数:10,代码来源:PurchaseInvoiceController.php

示例14: getEdit

 public function getEdit($id)
 {
     $stockInvoices = StockInvoice::find($id);
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     $stockDetails = StockDetail::where('invoice_id', '=', $stockInvoices->invoice_id)->first();
     $stockDetails2 = StockDetail::where('invoice_id', '=', $stockInvoices->invoice_id)->get();
     // get all stocks
     $stockInfos = new StockInfo();
     $allStockInfos = $stockInfos->getStockInfoDropDown();
     $invoiceId = $stockInvoices->invoice_id;
     //$invoiceId = 's121513';
     $buyersAll = 0;
     $imports = Import::where('status', '=', 'Activate')->get();
     $productsName = Product::where('product_type', '=', $stockDetails->product_type)->where('branch_id', '=', $stockDetails->branch_id)->get();
     return view('Stocks.edit2', compact('buyersAll', 'invoiceId', 'stockInvoices', 'stockDetails', 'productsName', 'stockDetails2', 'imports'))->with('branchAll', $branchAll)->with('allStockInfos', $allStockInfos);
     //        return view('Stocks.edit',compact('stock'))
     //            ->with('allStockInfos',$allStockInfos)
     //            ->with('branchAll',$branchAll);
 }
开发者ID:rockyamdad,项目名称:cemcoErp,代码行数:20,代码来源:StockController.php

示例15: getExpensepayment

 public function getExpensepayment()
 {
     $branches = new Branch();
     $branchAll = $branches->getBranchesDropDown();
     return view('Reports.expensePaymentReport')->with('branchAll', $branchAll);
 }
开发者ID:woakes070048,项目名称:cemcoErp,代码行数:6,代码来源:ReportController.php


注:本文中的app\Branch::getBranchesDropDown方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。